Enabled Debian 11 support, and updated vars
This commit is contained in:
@@ -7,9 +7,11 @@
|
||||
# Defining Vars #
|
||||
##-----------------##
|
||||
|
||||
#ModuleConfig
|
||||
email=mail@server.local
|
||||
|
||||
#SMI specific Vars
|
||||
SMI_config=no
|
||||
SMI_ModuleName=<ModuleName>
|
||||
|
||||
#Enforcing Legacy Mode
|
||||
APTMODE="apt"
|
||||
@@ -39,6 +41,12 @@ elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"10"* ]]; then
|
||||
PKGI="${PKGM} install -y --no-install-recommends"
|
||||
PKGLIST="apt"
|
||||
shortdist=deb10
|
||||
elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"11"* ]]; then
|
||||
echo "Debian 11 Detected"
|
||||
PKGM="$APTMODE"
|
||||
PKGI="${PKGM} install -y --no-install-recommends"
|
||||
PKGLIST="apt"
|
||||
shortdist=deb11
|
||||
elif [[ "${dist}" == *"centos"* ]] && [[ "${dist_ver}" == *"8"* ]]; then
|
||||
echo "Centos 8 Detected"
|
||||
PKGM="dnf"
|
||||
|
||||
Reference in New Issue
Block a user