Update distro

This commit is contained in:
dsgagi
2018-12-12 16:09:25 +01:00
committed by GitHub
parent ff124a1358
commit 5b53ab54c8
+1 -1
View File
@@ -50,7 +50,7 @@ elif [ "${OS}" = "Linux" ] ; then
DIST="Devuan `cat /etc/devuan_version`"
REV=""
elif [ -f /etc/debian_version ] ; then
elif [ -f /etc/debian_version -a -f /usr/bin/lsb_release ] ; then
DIST="Debian `cat /etc/debian_version`"
REV=""
ID=`lsb_release -i | awk -F ':' '{print $2}' | sed 's/ //g'`