From 07d65b66fcf48275a16cd3ade440d99a82a9c1f7 Mon Sep 17 00:00:00 2001 From: Orazio <22700499+orazioedoardo@users.noreply.github.com> Date: Sat, 13 Apr 2024 10:51:06 +0200 Subject: [PATCH] feat(install): Mark upcoming Ubuntu 24.04 as explicity supported, drop EOL Debian version --- auto_install/install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 4946d1a..ae644f8 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -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 @@ -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) : ;; *)