From 4c5911b97d81abc4f0dd6886f4fadb7378b2a34c Mon Sep 17 00:00:00 2001 From: mhy123152 Date: Fri, 4 Jan 2019 16:14:51 +0800 Subject: [PATCH] fix move directory issue --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 0c78e50..e145155 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -228,7 +228,7 @@ else EASYRSAURL='https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.5/EasyRSA-nix-3.0.5.tgz' wget -O ~/easyrsa.tgz "$EASYRSAURL" 2>/dev/null || curl -Lo ~/easyrsa.tgz "$EASYRSAURL" tar xzf ~/easyrsa.tgz -C ~/ - mv ~/EasyRSA-3.0.5/ /etc/openvpn/ + mv ~/EasyRSA-3.0.5 /etc/openvpn/ mv /etc/openvpn/EasyRSA-3.0.5/ /etc/openvpn/easy-rsa/ chown -R root:root /etc/openvpn/easy-rsa/ rm -f ~/easyrsa.tgz