mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
feat: Support debian 12(Bookworm)
This commit is contained in:
parent
87acb3d48b
commit
ef6b0e825d
1 changed files with 2 additions and 1 deletions
|
@ -349,6 +349,7 @@ distroCheck() {
|
||||||
VER="${VERSION_ID}"
|
VER="${VERSION_ID}"
|
||||||
declare -A VER_MAP=(["10"]="buster"
|
declare -A VER_MAP=(["10"]="buster"
|
||||||
["11"]="bullseye"
|
["11"]="bullseye"
|
||||||
|
["12"]="bookworm"
|
||||||
["18.04"]="bionic"
|
["18.04"]="bionic"
|
||||||
["20.04"]="focal"
|
["20.04"]="focal"
|
||||||
["22.04"]="jammy"
|
["22.04"]="jammy"
|
||||||
|
@ -364,7 +365,7 @@ distroCheck() {
|
||||||
case "${PLAT}" in
|
case "${PLAT}" in
|
||||||
Debian | Raspbian | Ubuntu)
|
Debian | Raspbian | Ubuntu)
|
||||||
case "${OSCN}" in
|
case "${OSCN}" in
|
||||||
stretch | buster | bullseye | xenial | bionic | focal | jammy | lunar)
|
stretch | buster | bullseye | bookwork | xenial | bionic | focal | jammy | lunar)
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue