From 4f5a803ee42f90d71b928483cec0b2df5d9cbfdc Mon Sep 17 00:00:00 2001 From: librelad Date: Sat, 1 Aug 2026 10:49:14 +0100 Subject: [PATCH 1/2] feat(checks): accept Ubuntu 26.04 as a tested version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ubuntu 26.04 hit the "untested and may not be fully supported" prompt and blocked non-interactive installs. Add it to the supported list. Also escape the dots in the version alternation — unescaped they matched any character, so e.g. "18X04" was treated as a tested release. Co-Authored-By: Claude Opus 5 --- scripts/function/checks/detect_os.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/function/checks/detect_os.sh b/scripts/function/checks/detect_os.sh index c48bee3..7a58b05 100755 --- a/scripts/function/checks/detect_os.sh +++ b/scripts/function/checks/detect_os.sh @@ -32,8 +32,8 @@ detectOS() { isNotice "Detected OS: $OS_TYPE $OS_VERSION" # Check if this is a tested/supported version - if [[ ("$OS_TYPE" == "Debian" && ! "$OS_VERSION" =~ ^(10|11|12|13)$) || - ("$OS_TYPE" == "Ubuntu" && ! "$OS_VERSION" =~ ^(18.04|20.04|22.04)$) ]]; then + if [[ ("$OS_TYPE" == "Debian" && ! "$OS_VERSION" =~ ^(10|11|12|13)$) || + ("$OS_TYPE" == "Ubuntu" && ! "$OS_VERSION" =~ ^(18\.04|20\.04|22\.04|26\.04)$) ]]; then isNotice "This OS version ($OS_VERSION) is untested and may not be fully supported." while true; do read -rp "Do you wish to continue anyway? (y/n): " oswarningaccept From a23ed15637d9f45da84a91e80242504c34d769b3 Mon Sep 17 00:00:00 2001 From: librelad Date: Sat, 1 Aug 2026 10:52:13 +0100 Subject: [PATCH 2/2] feat(checks): accept Ubuntu 24.04 as a tested version 24.04 is the current LTS and was still hitting the untested-OS prompt while the newer 26.04 did not. Co-Authored-By: Claude Opus 5 --- scripts/function/checks/detect_os.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/function/checks/detect_os.sh b/scripts/function/checks/detect_os.sh index 7a58b05..c42f9c7 100755 --- a/scripts/function/checks/detect_os.sh +++ b/scripts/function/checks/detect_os.sh @@ -33,7 +33,7 @@ detectOS() { # Check if this is a tested/supported version if [[ ("$OS_TYPE" == "Debian" && ! "$OS_VERSION" =~ ^(10|11|12|13)$) || - ("$OS_TYPE" == "Ubuntu" && ! "$OS_VERSION" =~ ^(18\.04|20\.04|22\.04|26\.04)$) ]]; then + ("$OS_TYPE" == "Ubuntu" && ! "$OS_VERSION" =~ ^(18\.04|20\.04|22\.04|24\.04|26\.04)$) ]]; then isNotice "This OS version ($OS_VERSION) is untested and may not be fully supported." while true; do read -rp "Do you wish to continue anyway? (y/n): " oswarningaccept