Compatibility with RHEL+EPEL (#796)

This commit is contained in:
Christoph Schulz
2021-02-14 10:54:53 +01:00
committed by GitHub
parent ea236de3e3
commit 1cc1978477

View File

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