fix other OS installs

This commit is contained in:
Mike Reeves
2023-07-17 13:44:02 -04:00
parent abe0a9ec27
commit 38c7ea0801

View File

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