Added Gentoo-Detection

This commit is contained in:
f0o
2014-03-08 22:32:19 +01:00
parent 6c64e98bdf
commit 6cf9958e9e

View File

@@ -37,6 +37,9 @@ elif [ "${OS}" = "Linux" ] ; then
elif [ -f /etc/debian_version ] ; then
DIST="Debian `cat /etc/debian_version`"
REV=""
elif [ -f /etc/gentoo-release ] ; then
DIST="Gentoo"
REV=$(tr -d '[[:alpha:]]' </etc/gentoo-release | tr -d " ")
fi
if [ -f /etc/UnitedLinux-release ] ; then