OpenSUSE 15.0/OpenSUSE 15.1 support

This commit is contained in:
Scott E. Graves
2019-07-04 14:37:56 -05:00
parent 8071d9b076
commit 37821cbb3a
5 changed files with 35 additions and 1 deletions

View File

@@ -65,6 +65,16 @@ elif [ -f /etc/os-release ]; then
. /etc/os-release
if [ "$ID" == "arch" ]; then
DISTNAME=arch
elif [ "$ID" == "opensuse-leap" ]; then
if [ "$VERSION_ID" == "15.0" ]; then
DISTNAME=opensuse
DISTVER=15
elif [ "$VERSION_ID" == "15.1" ]; then
DISTNAME=opensuse
DISTVER=15.1
else
resetDistVer
fi
else
resetDistVer
fi