aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-23 13:43:39 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-23 13:51:42 +0100
commit95b7bee70378a6fcbf838301f2f98e8825544c22 (patch)
tree98faddcee185228a0533c8c270040d6b62392b50 /libs
parentUpdate version to 1.4.11. (diff)
downloadeselect-95b7bee70378a6fcbf838301f2f98e8825544c22.tar.gz
eselect-95b7bee70378a6fcbf838301f2f98e8825544c22.tar.bz2
eselect-95b7bee70378a6fcbf838301f2f98e8825544c22.zip
Update arch list in package-manager list.
* libs/package-manager.bash.in (arch): Restore sparc64 which was lost in a previous update. Sync with arch.list in the gentoo repo.
Diffstat (limited to 'libs')
-rw-r--r--libs/package-manager.bash.in34
1 files changed, 17 insertions, 17 deletions
diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in
index baf49df..220e09c 100644
--- a/libs/package-manager.bash.in
+++ b/libs/package-manager.bash.in
@@ -70,23 +70,23 @@ arch() {
# Try to determine arch from HOSTTYPE and OSTYPE, which are
# derived from the GNU triplet (at build time of bash)
case ${HOSTTYPE} in
- aarch64*) ret=arm64 ;;
- alpha*) ret=alpha ;;
- arm*) ret=arm ;;
- hppa*) ret=hppa ;;
- i?86) ret=x86 ;;
- ia64*) ret=ia64 ;;
- m68k*) ret=m68k ;;
- mips*) ret=mips ;;
- nios2) ret=nios2 ;;
- or1k|or32*) ret=openrisc ;;
- powerpc64*) ret=ppc64 ;;
- powerpc*) ret=ppc ;;
- riscv*) ret=riscv ;;
- s390*) ret=s390 ;;
- sh*) ret=sh ;;
- sparc*) ret=sparc ;;
- x86_64) ret=amd64 ;;
+ aarch64*) ret=arm64 ;;
+ alpha*) ret=alpha ;;
+ arm*) ret=arm ;;
+ hppa*) ret=hppa ;;
+ i?86) ret=x86 ;;
+ ia64*) ret=ia64 ;;
+ m68k*) ret=m68k ;;
+ mips*) ret=mips ;;
+ nios2) ret=nios2 ;;
+ powerpc64*) ret=ppc64 ;;
+ powerpc*) ret=ppc ;;
+ riscv*) ret=riscv ;;
+ s390*) ret=s390 ;;
+ sh*) ret=sh ;;
+ sparc64*) ret=sparc64 ;;
+ sparc*) ret=sparc ;;
+ x86_64) ret=amd64 ;;
*)
write_warning_msg \
"Unknown architecture \"${HOSTTYPE}\"." \