1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-06-01 11:00:48 +00:00

CentOS: Make sure epel-release is installed before openvpn

This commit is contained in:
angristan 2018-09-27 22:09:12 +02:00
parent 9716e868a0
commit e231c8924a

View File

@ -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