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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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