Compatibility with RHEL+EPEL

This commit is contained in:
Christoph Schulz 2021-02-13 23:34:19 +01:00 committed by GitHub
parent ea236de3e3
commit d81db780fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ function checkOS() {
fi
elif [[ -e /etc/system-release ]]; then
source /etc/os-release
if [[ $ID == "fedora" ]]; then
if [[ $ID == "fedora" || $ID_LIKE == "fedora" ]]; then
OS="fedora"
fi
if [[ $ID == "centos" ]]; then