mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 05:33:30 +03:00
fix move directory issue
This commit is contained in:
parent
456fbf189d
commit
4c5911b97d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue