diff --git a/setup/so-functions b/setup/so-functions index 491d9e631..c62322cc1 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -958,6 +958,7 @@ detect_os() { is_centos=true is_rpm=true not_supported=true + unset is_supported elif grep -q "Red Hat Enterprise Linux release 9" /etc/redhat-release; then if [ -f /etc/oracle-release ]; then OS=oracle @@ -971,6 +972,7 @@ detect_os() { is_rhel=true is_rpm=true not_supported=true + unset is_supported fi fi elif [ -f /etc/os-release ]; then @@ -980,6 +982,7 @@ detect_os() { OS=ubuntu is_ubuntu=true not_supported=true + unset is_supported elif grep -q "UBUNTU_CODENAME=jammy" /etc/os-release; then OSVER=jammy UBVER=22.04 @@ -987,6 +990,7 @@ detect_os() { is_ubuntu=true is_deb=true not_supported=true + unset is_supported elif grep -q "VERSION_CODENAME=bookworm" /etc/os-release; then OSVER=bookworm DEBVER=12 @@ -994,6 +998,7 @@ detect_os() { OS=debian is_deb=true not_supported=true + unset is_supported fi installer_prereq_packages