Debian support

This commit is contained in:
Scott E. Graves
2019-04-07 18:02:51 -05:00
parent b75868e883
commit 9207d6af3f
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ elif [ -f /etc/lsb-release ]; then
DISTVER=${DISTRIB_RELEASE}
elif [ -f /etc/debian_version ]; then
DISTNAME=debian
DISTVER=$(head -1 /etc/debian_version)
DISTVER=$(head -1 /etc/debian_version|awk -F. '{print $1}')
fi
echo ${DISTNAME}${DISTVER}