Support ElementaryOS

This commit is contained in:
Scott E. Graves
2019-04-11 21:22:18 -05:00
parent e08631b2c4
commit 0946f44c70

View File

@@ -14,6 +14,14 @@ elif [ -f /etc/lsb-release ]; then
DISTNAME=ubuntu
DISTVER=18.04
fi
elif [ "$DISTNAME" = "elementary" ]; then
if [ "$DISTVER" = "5.0" ]; then
DISTNAME=ubuntu
DISTVER=18.04
fi
else
DISTNAME=unknown
DISTVER=
fi
elif [ -f /etc/debian_version ]; then
DISTNAME=debian