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