Skip to content

Commit

Permalink
feat(install): Mark upcoming Ubuntu 24.04 as explicity supported, dro…
Browse files Browse the repository at this point in the history
…p EOL Debian version
  • Loading branch information
orazioedoardo committed Apr 13, 2024
1 parent 8645067 commit 07d65b6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions auto_install/install.sh
Expand Up @@ -351,13 +351,14 @@ distroCheck() {
. /etc/os-release
PLAT="$(awk '{print $1}' <<< "${NAME}")"
VER="${VERSION_ID}"
declare -A VER_MAP=(["10"]="buster"
declare -A VER_MAP=(
["10"]="buster"
["11"]="bullseye"
["12"]="bookworm"
["18.04"]="bionic"
["20.04"]="focal"
["22.04"]="jammy"
["23.04"]="lunar")
["24.04"]="noble"
)
OSCN="${VER_MAP["${VER}"]}"

# Alpine support
Expand All @@ -369,7 +370,7 @@ distroCheck() {
case "${PLAT}" in
Debian | Raspbian | Ubuntu)
case "${OSCN}" in
stretch | buster | bullseye | bookworm | xenial | bionic | focal | jammy | lunar)
buster | bullseye | bookworm | focal | jammy | noble)
:
;;
*)
Expand Down

0 comments on commit 07d65b6

Please sign in to comment.