mirror of
https://github.com/namibia/openvpn-install.git
synced 2025-01-03 11:47:21 +00:00
CentOS: Make sure epel-release is installed before openvpn
This commit is contained in:
parent
9716e868a0
commit
e231c8924a
@ -567,7 +567,8 @@ function installOpenVPN () {
|
|||||||
# Ubuntu > 16.04 and Debian > 8 have OpenVPN >= 2.4 without the need of a third party repository.
|
# 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
|
apt-get install openvpn iptables openssl wget ca-certificates curl -y
|
||||||
elif [[ "$OS" = 'centos' ]]; then
|
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
|
elif [[ "$OS" = 'fedora' ]]; then
|
||||||
dnf install openvpn iptables openssl wget ca-certificates curl -y
|
dnf install openvpn iptables openssl wget ca-certificates curl -y
|
||||||
elif [[ "$OS" = 'arch' ]]; then
|
elif [[ "$OS" = 'arch' ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user