Updated new detection

This commit is contained in:
2020-06-13 21:48:06 -05:00
parent 27fb6b2d30
commit bab8bca41a
2 changed files with 2 additions and 129 deletions

View File

@@ -21,7 +21,7 @@ if [ -f /etc/centos-release ]; then
fi
elif [ -f /etc/fedora-release ]; then
. /etc/os-release
if [ "$VERSION_ID" != "31" ] && [ "$VERSION_ID" != "30" ] && [ "$VERSION_ID" != "29" ] && [ "$VERSION_ID" != "28" ]; then
if [ "$VERSION_ID" != "32" ] && [ "$VERSION_ID" != "31" ] && [ "$VERSION_ID" != "30" ] && [ "$VERSION_ID" != "29" ] && [ "$VERSION_ID" != "28" ]; then
resetDistVer
else
DISTNAME=debian
@@ -55,7 +55,7 @@ elif [ -f /etc/lsb-release ]; then
else
resetDistVer
fi
elif [ "$DISTVER" != "18.04" ] && [ "$DISTVER" != "18.10" ] && [ "$DISTVER" != "19.04" ] && [ "$DISTVER" != "19.10" ]; then
elif [ "$DISTVER" != "18.04" ] && [ "$DISTVER" != "18.10" ] && [ "$DISTVER" != "19.04" ] && [ "$DISTVER" != "19.10" ] && [ "$DISTVER" != "20.04" ]; then
resetDistVer
else
DISTNAME=debian