Multi OS Support

This commit is contained in:
Mike Reeves
2023-07-13 18:29:02 -04:00
parent 20c76abac4
commit 03b16a5582

View File

@@ -950,7 +950,7 @@ detect_os() {
OSVER=9
is_rocky=true
is_rpm=true
is_supported=true
not_supported=true
elif grep -q "CentOS Stream release 9" /etc/redhat-release; then
OS=centos
OSVER=9
@@ -1002,13 +1002,6 @@ detect_os() {
fi
info "Found OS: $OS $OSVER"
if [[ $is_override ]]; then
unset $not_supported
fi
if [[ $not_supported ]]; then
info "This is not a supported OS. Exiting Setup"
exit 1
fi
}