Debian support

This commit is contained in:
Scott E. Graves committed 2019-04-07 18:02:51 -05:00
1 parent b75868e883
commit 9207d6af3f
2 files changed
+2 -2

No files matched your search

+1 -1
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}