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 <noreply@anthropic.com>
This commit is contained in:
librelad 2026-08-01 10:52:13 +01:00
parent 4f5a803ee4
commit a23ed15637

View File

@ -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