From d81db780fb6800d4a4153f8e6746cf7c45e92ec0 Mon Sep 17 00:00:00 2001 From: Christoph Schulz Date: Sat, 13 Feb 2021 23:34:19 +0100 Subject: [PATCH] Compatibility with RHEL+EPEL --- 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