mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +00:00
Debian 11 Bullseye
Added Debian 11 bullseye to list of supported OS
This commit is contained in:
parent
e458cba36a
commit
e42c339baa
1 changed files with 2 additions and 2 deletions
|
@ -241,14 +241,14 @@ distroCheck(){
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
PLAT=$(awk '{print $1}' <<< "$NAME")
|
PLAT=$(awk '{print $1}' <<< "$NAME")
|
||||||
VER="$VERSION_ID"
|
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}"]}
|
OSCN=${VER_MAP["${VER}"]}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case ${PLAT} in
|
case ${PLAT} in
|
||||||
Debian|Raspbian|Ubuntu)
|
Debian|Raspbian|Ubuntu)
|
||||||
case ${OSCN} in
|
case ${OSCN} in
|
||||||
stretch|buster|xenial|bionic|focal)
|
stretch|buster|bullseye|xenial|bionic|focal)
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue