summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-08-24 14:13:08 +0200
committerUlrich Müller <ulm@gentoo.org>2021-08-24 14:13:08 +0200
commita49477f39d3f000cc2ca57f18aafbd66656aba05 (patch)
tree14428d7436b5a79f1ac3e72ff2b4bb0007ca21ad
parentnews.eselect: Support "new" and "all" options in list action (diff)
downloadeselect-a49477f39d3f000cc2ca57f18aafbd66656aba05.tar.gz
eselect-a49477f39d3f000cc2ca57f18aafbd66656aba05.tar.bz2
eselect-a49477f39d3f000cc2ca57f18aafbd66656aba05.zip
Recognise loongarch*/loong in package-manager lib
* libs/package-manager.bash.in (arch): Recognise loongarch*/loong. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--ChangeLog4
-rw-r--r--libs/package-manager.bash.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dfdfe47..f2ea0b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-08-24 Ulrich Müller <ulm@gentoo.org>
+
+ * libs/package-manager.bash.in (arch): Recognise loongarch*/loong.
+
2021-02-17 Ulrich Müller <ulm@gentoo.org>
* modules/news.eselect (do_list): Recognise "new" and "all"
diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in
index 35a1e11..c32fcb4 100644
--- a/libs/package-manager.bash.in
+++ b/libs/package-manager.bash.in
@@ -1,5 +1,5 @@
# -*-eselect-*- vim: ft=eselect
-# Copyright (c) 2005-2020 Gentoo Authors
+# Copyright (c) 2005-2021 Gentoo Authors
#
# This file is part of the 'eselect' tools framework.
#
@@ -76,6 +76,7 @@ arch() {
hppa*) ret=hppa ;;
i?86) ret=x86 ;;
ia64*) ret=ia64 ;;
+ loongarch*) ret=loong ;;
m68k*) ret=m68k ;;
mips*) ret=mips ;;
nios2) ret=nios2 ;;