Debian 11 Bullseye

Added Debian 11 bullseye to list of supported OS
This commit is contained in:
4s3ti 2021-11-24 22:21:10 +01:00
parent e458cba36a
commit e42c339baa

View file

@ -241,14 +241,14 @@ distroCheck(){
source /etc/os-release
PLAT=$(awk '{print $1}' <<< "$NAME")
VER="$VERSION_ID"
declare -A VER_MAP=(["9"]="stretch" ["10"]="buster" ["16.04"]="xenial" ["18.04"]="bionic" ["20.04"]="focal")
declare -A VER_MAP=(["9"]="stretch" ["10"]="buster" ["11"]="bullseye" ["16.04"]="xenial" ["18.04"]="bionic" ["20.04"]="focal")
OSCN=${VER_MAP["${VER}"]}
fi
case ${PLAT} in
Debian|Raspbian|Ubuntu)
case ${OSCN} in
stretch|buster|xenial|bionic|focal)
stretch|buster|bullseye|xenial|bionic|focal)
:
;;
*)