Fedora 31
This commit is contained in:
@@ -18,17 +18,11 @@ if [ -f /etc/centos-release ]; then
|
|||||||
fi
|
fi
|
||||||
elif [ -f /etc/fedora-release ]; then
|
elif [ -f /etc/fedora-release ]; then
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
if [ "$VERSION_ID" = "30" ]; then
|
if [ "$VERSION_ID" != "31" ] && [ "$VERSION_ID" != "30" ] && [ "$VERSION_ID" != "29" ] && [ "$VERSION_ID" != "28" ]; then
|
||||||
DISTNAME=fedora
|
|
||||||
DISTVER=30
|
|
||||||
elif [ "$VERSION_ID" = "29" ]; then
|
|
||||||
DISTNAME=fedora
|
|
||||||
DISTVER=29
|
|
||||||
elif [ "$VERSION_ID" = "28" ]; then
|
|
||||||
DISTNAME=fedora
|
|
||||||
DISTVER=28
|
|
||||||
else
|
|
||||||
resetDistVer
|
resetDistVer
|
||||||
|
else
|
||||||
|
DISTNAME=fedora
|
||||||
|
DISTVER=$VERSION_ID
|
||||||
fi
|
fi
|
||||||
elif [ -f /etc/solus-release ]; then
|
elif [ -f /etc/solus-release ]; then
|
||||||
DISTNAME=solus
|
DISTNAME=solus
|
||||||
|
|||||||
Reference in New Issue
Block a user