diff --git a/scripts/function/checks/detect_os.sh b/scripts/function/checks/detect_os.sh index c48bee3..c42f9c7 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|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