From 6cf9958e9e6402db35fcee5ab5e7c4966dc4d5b9 Mon Sep 17 00:00:00 2001 From: f0o Date: Sat, 8 Mar 2014 22:32:19 +0100 Subject: [PATCH] Added Gentoo-Detection --- scripts/distro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/distro b/scripts/distro index e54410c90..922960d2b 100755 --- a/scripts/distro +++ b/scripts/distro @@ -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:]]'