From 7351419aa4039e5fbff24c9f23405b904fd38ed7 Mon Sep 17 00:00:00 2001 From: Jun Hui Date: Sun, 23 Sep 2018 19:56:38 +0800 Subject: [PATCH] :facepalm: --- openvpn-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 07a3327..37af9cc 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -536,12 +536,12 @@ function installOpenVPN () { # Install the latest version of easy-rsa from source local version="3.0.5" - wget -O ~/EasyRSA-${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-${version}.tgz - tar xzf ~/EasyRSA-${version}.tgz -C ~/ - mv ~/EasyRSA-${version}/ /etc/openvpn/ - mv /etc/openvpn/EasyRSA-${version}/ /etc/openvpn/easy-rsa/ + wget -O ~/EasyRSA-nix-${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-nix-${version}.tgz + tar xzf ~/EasyRSA-nix-${version}.tgz -C ~/ + mv ~/EasyRSA-nix-${version}/ /etc/openvpn/ + mv /etc/openvpn/EasyRSA-nix-${version}/ /etc/openvpn/easy-rsa/ chown -R root:root /etc/openvpn/easy-rsa/ - rm -f ~/EasyRSA-${version}.tgz + rm -f ~/EasyRSA-nix-${version}.tgz cd /etc/openvpn/easy-rsa/ case $CERT_TYPE in