diff --git a/snmp/distro b/snmp/distro index ce14680..f8926ac 100755 --- a/snmp/distro +++ b/snmp/distro @@ -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'`