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:
parent
4f5a803ee4
commit
a23ed15637
@ -33,7 +33,7 @@ detectOS() {
|
|||||||
|
|
||||||
# Check if this is a tested/supported version
|
# Check if this is a tested/supported version
|
||||||
if [[ ("$OS_TYPE" == "Debian" && ! "$OS_VERSION" =~ ^(10|11|12|13)$) ||
|
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."
|
isNotice "This OS version ($OS_VERSION) is untested and may not be fully supported."
|
||||||
while true; do
|
while true; do
|
||||||
read -rp "Do you wish to continue anyway? (y/n): " oswarningaccept
|
read -rp "Do you wish to continue anyway? (y/n): " oswarningaccept
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user