From d6043328234ef764b00c82006fa517788e8174a9 Mon Sep 17 00:00:00 2001 From: Jun Hui Date: Sun, 23 Sep 2018 21:25:16 +0800 Subject: [PATCH] Fixed to conform with updated naming convention --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 37af9cc..30908ec 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -538,8 +538,8 @@ function installOpenVPN () { local version="3.0.5" 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/ + mv ~/EasyRSA-${version}/ /etc/openvpn/ + mv /etc/openvpn/EasyRSA-${version}/ /etc/openvpn/easy-rsa/ chown -R root:root /etc/openvpn/easy-rsa/ rm -f ~/EasyRSA-nix-${version}.tgz