From e231c8924af9d9fd03a20f9e6daac2e0f06427c8 Mon Sep 17 00:00:00 2001 From: angristan Date: Thu, 27 Sep 2018 22:09:12 +0200 Subject: [PATCH] CentOS: Make sure epel-release is installed before openvpn --- openvpn-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index a77b5d3..15484de 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -567,7 +567,8 @@ function installOpenVPN () { # Ubuntu > 16.04 and Debian > 8 have OpenVPN >= 2.4 without the need of a third party repository. apt-get install openvpn iptables openssl wget ca-certificates curl -y elif [[ "$OS" = 'centos' ]]; then - yum install epel-release openvpn iptables openssl wget ca-certificates curl -y + yum install epel-release + yum install openvpn iptables openssl wget ca-certificates curl -y elif [[ "$OS" = 'fedora' ]]; then dnf install openvpn iptables openssl wget ca-certificates curl -y elif [[ "$OS" = 'arch' ]]; then