aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-03-21 00:35:11 -0400
committerUlrich Müller <ulm@gentoo.org>2017-03-21 07:31:28 +0100
commit5f31448766d94618df7ac25c53a05270aec344ce (patch)
treebb9162f70e9f27fe3f7992d65a950254aad8445f /libs
parentUpdate version to 1.4.8. (diff)
downloadeselect-5f31448766d94618df7ac25c53a05270aec344ce.tar.gz
eselect-5f31448766d94618df7ac25c53a05270aec344ce.tar.bz2
eselect-5f31448766d94618df7ac25c53a05270aec344ce.zip
Fill out arch matches a bit more in package-manager lib.
* libs/package-manager.bash.in (arch): Fill out arch matches a bit more.
Diffstat (limited to 'libs')
-rw-r--r--libs/package-manager.bash.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in
index aececfd..8194fff 100644
--- a/libs/package-manager.bash.in
+++ b/libs/package-manager.bash.in
@@ -75,15 +75,17 @@ arch() {
arm*) ret=arm ;;
hppa*) ret=hppa ;;
i?86) ret=x86 ;;
- ia64) ret=ia64 ;;
- m68k) ret=m68k ;;
+ ia64*) ret=ia64 ;;
+ m68k*) ret=m68k ;;
mips*) ret=mips ;;
- powerpc) ret=ppc ;;
- powerpc64) ret=ppc64 ;;
+ nios2) ret=nios ;;
+ or1k|or32*) ret=openrisc;;
+ powerpc64*) ret=ppc64 ;;
+ powerpc*) ret=ppc ;;
+ riscv*) ret=riscv ;;
s390*) ret=s390 ;;
sh*) ret=sh ;;
- sparc) ret=sparc ;;
- sparc64) ret=sparc64 ;;
+ sparc*) ret=sparc ;;
x86_64) ret=amd64 ;;
*)
write_warning_msg \