aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
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 \