mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-22 00:39:03 +01:00
Compatibility with RHEL+EPEL (#796)
This commit is contained in:
parent
ea236de3e3
commit
1cc1978477
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user