Enabled Debian 11 support
This commit is contained in:
7
conf.sh
7
conf.sh
@@ -16,6 +16,9 @@ if [ -z ${shortdist+x} ]; then
|
||||
elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"10"* ]]; then
|
||||
shortdist=deb10
|
||||
echo set
|
||||
elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"11"* ]]; then
|
||||
shortdist=deb11
|
||||
echo set
|
||||
elif [[ "${dist}" == *"centos"* ]] && [[ "${dist_ver}" == *"8"* ]]; then
|
||||
shortdist=el8
|
||||
echo set
|
||||
@@ -26,11 +29,11 @@ fi
|
||||
|
||||
#OS Handeler
|
||||
|
||||
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] ; then
|
||||
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] || [ "$shortdist" = "deb11" ] ; then
|
||||
##Setting Configname
|
||||
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] ; then
|
||||
LinVer=Ubuntu
|
||||
elif [ "$shortdist" = "deb10" ]; then
|
||||
elif [ "$shortdist" = "deb10" ] || [ "$shortdist" = "deb11" ]; then
|
||||
LinVer=Debian
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user