Added Debian 11 support
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
|
||||
#MySQL module specific Var
|
||||
PHPMyadmin=1
|
||||
phpmyadminver="5.0.2"
|
||||
|
||||
#SMI specific Vars
|
||||
SMI_config=no
|
||||
@@ -42,6 +41,11 @@ elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"10"* ]]; then
|
||||
PKGI="${PKGM} install -y --no-install-recommends"
|
||||
PKGLIST="apt.pkg.list"
|
||||
shortdist=deb10
|
||||
elif [[ "${dist}" == *"debian"* ]] && [[ "${dist_ver}" == *"11"* ]]; then
|
||||
PKGM="$APTMODE"
|
||||
PKGI="${PKGM} install -y --no-install-recommends"
|
||||
PKGLIST="apt.pkg.list"
|
||||
shortdist=deb11
|
||||
elif [[ "${dist}" == *"centos"* ]] && [[ "${dist_ver}" == *"8"* ]]; then
|
||||
PKGM="dnf"
|
||||
PKGI="${PKGM} install --setopt=install_weak_deps=False --best -y"
|
||||
|
||||
Reference in New Issue
Block a user