From 1cc1978477da3eaf88f1e2fd9fbd63a24ae8b089 Mon Sep 17 00:00:00 2001 From: Christoph Schulz Date: Sun, 14 Feb 2021 10:54:53 +0100 Subject: [PATCH] Compatibility with RHEL+EPEL (#796) --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index b813c54..da252e1 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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