Add support for Rocky Linux 8 (#869)

This commit is contained in:
derek-j-pitman 2021-07-06 04:53:12 -04:00 committed by GitHub
parent 2ab48f2265
commit 1d55f856ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ function checkOS() {
if [[ $ID == "fedora" || $ID_LIKE == "fedora" ]]; then
OS="fedora"
fi
if [[ $ID == "centos" ]]; then
if [[ $ID == "centos" || $ID == "rocky" ]]; then
OS="centos"
if [[ ! $VERSION_ID =~ (7|8) ]]; then
echo "⚠️ Your version of CentOS is not supported."