Fixed to conform with updated naming convention

This commit is contained in:
Jun Hui 2018-09-23 21:25:16 +08:00 committed by GitHub
parent 7351419aa4
commit d604332823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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