Added Debian 11 support

This commit is contained in:
2021-09-03 12:18:10 +02:00
parent 8c033bf7c8
commit 03638b9ec7
4 changed files with 15 additions and 6 deletions

View File

@@ -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"