Commit fdcddcb0e38620cedea73c6b2f34a5554d21f415

Thomas de Grivel 2023-02-04T19:51:07

gentoo OS detection

diff --git a/share/shpkg/Linux/Gentoo/system_packages b/share/shpkg/Linux/Gentoo/system_packages
deleted file mode 100644
index e69de29..0000000
--- a/share/shpkg/Linux/Gentoo/system_packages
+++ /dev/null
diff --git a/share/shpkg/Linux/gentoo/system_packages b/share/shpkg/Linux/gentoo/system_packages
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/share/shpkg/Linux/gentoo/system_packages
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index f4c7024..e76c441 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -82,7 +82,7 @@ SHPKG_TAG_DIR="${SHPKG_TARGET_DIR}/tag"
 # OS detection
 SHPKG_OS="$(uname)"
 if [ "x${SHPKG_OS}" = "xLinux" ]; then
-    SHPKG_OS="${SHPKG_OS}/$(uname -a | grep -io -e Debian -e Gentoo -e Ubuntu)"
+    SHPKG_OS="${SHPKG_OS}/$(uname -a | grep -io -e Debian -e gentoo -e Ubuntu)"
 fi
 
 SHPKG_OS_DIR="${SHPKG_SHARE_DIR}/${SHPKG_OS}"