fix explorer/os for devuan ascii

This commit is contained in:
kamila 2017-10-20 12:02:48 +02:00
parent a4be44b313
commit 61b4d74ed7

View file

@ -51,15 +51,17 @@ if grep -q ^DISTRIB_ID=Ubuntu /etc/lsb-release 2>/dev/null; then
exit 0 exit 0
fi fi
# devuan ascii has both devuan_version and debian_version, so we need to check devuan_version first!
if [ -f /etc/devuan_version ]; then
echo devuan
exit 0
fi
if [ -f /etc/debian_version ]; then if [ -f /etc/debian_version ]; then
echo debian echo debian
exit 0 exit 0
fi fi
if [ -f /etc/devuan_version ]; then
echo devuan
exit 0
fi
### ###
if [ -f /etc/gentoo-release ]; then if [ -f /etc/gentoo-release ]; then