Commit 190454d4e2420b420177e18ffe91ed47b1f4fbcd

Thomas de Grivel 2023-01-26T09:22:40

detect gentoo

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index 093a87e..8576dbf 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -21,7 +21,7 @@ fi
 
 SHPKG_OS="$(uname)"
 if [ "x${SHPKG_OS}" = "xLinux" ]; then
-    SHPKG_OS="${SHPKG_OS}/$(uname -v | grep -io -e Debian -e Gentoo -e Ubuntu)"
+    SHPKG_OS="${SHPKG_OS}/$(uname -a | grep -io -e Debian -e Gentoo -e Ubuntu)"
 fi
 
 SHPKG_PREFIX="${SHPKG_DIR}"