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}"