mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
Added wget to the list of required packages
Added wget to the list of installed packages as some OS installs do not include this by default. Tested on ubuntu 16.04
This commit is contained in:
parent
b6f0c42b5b
commit
9c07454a57
@ -201,11 +201,11 @@ else
|
||||
read -n1 -r -p "Press any key to continue..."
|
||||
if [[ "$OS" = 'debian' ]]; then
|
||||
apt-get update
|
||||
apt-get install openvpn iptables openssl ca-certificates -y
|
||||
apt-get install openvpn iptables openssl ca-certificates wget -y
|
||||
else
|
||||
# Else, the distro is CentOS
|
||||
yum install epel-release -y
|
||||
yum install openvpn iptables openssl wget ca-certificates -y
|
||||
yum install openvpn iptables openssl wget ca-certificates wget -y
|
||||
fi
|
||||
# An old version of easy-rsa was available by default in some openvpn packages
|
||||
if [[ -d /etc/openvpn/easy-rsa/ ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user