Fix easy-rsa release URL
This commit is contained in:
parent
f9bc450b50
commit
d79b3fcc35
1 changed files with 1 additions and 1 deletions
|
|
@ -682,7 +682,7 @@ function installOpenVPN() {
|
||||||
# installed.
|
# installed.
|
||||||
if [[ ! -d /etc/openvpn/easy-rsa/ ]]; then
|
if [[ ! -d /etc/openvpn/easy-rsa/ ]]; then
|
||||||
local version="3.0.7"
|
local version="3.0.7"
|
||||||
wget -O ~/EasyRSA-unix-v${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-unix-v${version}.tgz
|
wget -O ~/EasyRSA-unix-v${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-${version}.tgz
|
||||||
tar xzf ~/EasyRSA-unix-v${version}.tgz -C ~/
|
tar xzf ~/EasyRSA-unix-v${version}.tgz -C ~/
|
||||||
mkdir -p /etc/openvpn/easy-rsa
|
mkdir -p /etc/openvpn/easy-rsa
|
||||||
mv ~/EasyRSA-v${version}/* /etc/openvpn/easy-rsa/
|
mv ~/EasyRSA-v${version}/* /etc/openvpn/easy-rsa/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue