Update distro

Remove extra white spaces.
This commit is contained in:
dsgagi
2018-12-14 18:49:58 +01:00
committed by GitHub
parent 456d2e7672
commit dc3d2673dd
+2 -2
View File
@@ -54,10 +54,10 @@ elif [ "${OS}" = "Linux" ] ; then
DIST="Debian `cat /etc/debian_version`"
REV=""
if [ -f /usr/bin/lsb_release ] ; then
ID=`lsb_release -i | awk -F ':' '{print $2}' | sed 's/ //g'`
ID=`lsb_release -i | awk -F ':' '{print $2}' | sed 's/ //g'`
fi
if [ "${ID}" = "Raspbian" ] ; then
DIST="Raspbian `cat /etc/debian_version`"
DIST="Raspbian `cat /etc/debian_version`"
fi
elif [ -f /etc/gentoo-release ] ; then