mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 03:10:16 +00:00
feat(install): Mark upcoming Ubuntu 24.04 as explicity supported, drop EOL Debian version
This commit is contained in:
parent
86450675b0
commit
07d65b66fc
1 changed files with 5 additions and 4 deletions
|
@ -351,13 +351,14 @@ distroCheck() {
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
PLAT="$(awk '{print $1}' <<< "${NAME}")"
|
PLAT="$(awk '{print $1}' <<< "${NAME}")"
|
||||||
VER="${VERSION_ID}"
|
VER="${VERSION_ID}"
|
||||||
declare -A VER_MAP=(["10"]="buster"
|
declare -A VER_MAP=(
|
||||||
|
["10"]="buster"
|
||||||
["11"]="bullseye"
|
["11"]="bullseye"
|
||||||
["12"]="bookworm"
|
["12"]="bookworm"
|
||||||
["18.04"]="bionic"
|
|
||||||
["20.04"]="focal"
|
["20.04"]="focal"
|
||||||
["22.04"]="jammy"
|
["22.04"]="jammy"
|
||||||
["23.04"]="lunar")
|
["24.04"]="noble"
|
||||||
|
)
|
||||||
OSCN="${VER_MAP["${VER}"]}"
|
OSCN="${VER_MAP["${VER}"]}"
|
||||||
|
|
||||||
# Alpine support
|
# Alpine support
|
||||||
|
@ -369,7 +370,7 @@ distroCheck() {
|
||||||
case "${PLAT}" in
|
case "${PLAT}" in
|
||||||
Debian | Raspbian | Ubuntu)
|
Debian | Raspbian | Ubuntu)
|
||||||
case "${OSCN}" in
|
case "${OSCN}" in
|
||||||
stretch | buster | bullseye | bookworm | xenial | bionic | focal | jammy | lunar)
|
buster | bullseye | bookworm | focal | jammy | noble)
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue