Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 437986 | Differences between
and this patch

Collapse All | Expand All

(-)eselect-1.3.2.orig/libs/package-manager.bash.in (-1 / +1 lines)
Lines 64-70 Link Here
64
			s390*) ret=s390 ;;
64
			s390*) ret=s390 ;;
65
			sh*) ret=sh ;;
65
			sh*) ret=sh ;;
66
			sparc*) ret=sparc ;;
66
			sparc*) ret=sparc ;;
67
			x86_64) ret=amd64 ;;
67
			x86_64|amd64) ret=amd64 ;;
68
			*) write_warning_msg \
68
			*) write_warning_msg \
69
				"Unknown architecture. Please submit a bug including the output of 'uname -m'"
69
				"Unknown architecture. Please submit a bug including the output of 'uname -m'"
70
				return 1
70
				return 1
(-)eselect-1.3.2.orig/modules/profile.eselect (-1 / +1 lines)
Lines 95-101 Link Here
95
		repopath=$(get_repo_path "${repo}") || die -q "get_repo_path failed"
95
		repopath=$(get_repo_path "${repo}") || die -q "get_repo_path failed"
96
		# do a reverse lookup and find the arch associated with ${target}
96
		# do a reverse lookup and find the arch associated with ${target}
97
		parch=$(sed -n -e \
97
		parch=$(sed -n -e \
98
			"s|^\([[:alnum:]]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \
98
			"s|^\([[:alnum:]\-]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \
99
			"${repopath}/profiles/profiles.desc")
99
			"${repopath}/profiles/profiles.desc")
100
		[[ ${arch} != "${parch}" && -z ${force} ]] \
100
		[[ ${arch} != "${parch}" && -z ${force} ]] \
101
			&& die -q "${target} is not a valid profile for ${arch}"
101
			&& die -q "${target} is not a valid profile for ${arch}"

Return to bug 437986