From a0685af1a32f7a5729abcd9dbda1e08dfa4e75ab Mon Sep 17 00:00:00 2001 From: Stanislas Date: Sun, 12 May 2019 20:59:15 +0200 Subject: [PATCH] Update mv easy-rsa command Maybe fix #420 --- openvpn-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 61df7a3..5575bd2 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -623,8 +623,7 @@ function installOpenVPN () { local version="3.0.6" wget -O ~/EasyRSA-unix-v${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-unix-v${version}.tgz tar xzf ~/EasyRSA-unix-v${version}.tgz -C ~/ - mv ~/EasyRSA-v${version}/ /etc/openvpn/ - mv /etc/openvpn/EasyRSA-v${version}/ /etc/openvpn/easy-rsa/ + mv ~/EasyRSA-v${version} /etc/openvpn/easy-rsa chown -R root:root /etc/openvpn/easy-rsa/ rm -f ~/EasyRSA-unix-v${version}.tgz