diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libs/package-manager.bash.in | 14 |
2 files changed, 13 insertions, 6 deletions
@@ -1,3 +1,8 @@ +2017-03-21 Mike Frysinger <vapier@gentoo.org> + + * libs/package-manager.bash.in (arch): Fill out arch matches + a bit more. + 2016-12-10 Ulrich Müller <ulm@gentoo.org> * configure.ac: Update version to 1.4.8. 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 \ |