Merge claude/3
This commit is contained in:
commit
f0d7106188
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user