From 4bf4257cf3e1583b5b38b112f8484d137e345543 Mon Sep 17 00:00:00 2001 From: angristan Date: Wed, 5 Sep 2018 20:26:33 +0200 Subject: [PATCH] Merge two mv commands --- openvpn-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index a176779..df14a6f 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -533,8 +533,7 @@ WantedBy=multi-user.target" > /etc/systemd/system/iptables.service # Get easy-rsa wget -O ~/EasyRSA-3.0.4.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.4/EasyRSA-3.0.4.tgz tar xzf ~/EasyRSA-3.0.4.tgz -C ~/ - mv ~/EasyRSA-3.0.4/ /etc/openvpn/ - mv /etc/openvpn/EasyRSA-3.0.4/ /etc/openvpn/easy-rsa/ + mv ~/EasyRSA-3.0.4/ /etc/openvpn/easy-rsa/ chown -R root:root /etc/openvpn/easy-rsa/ rm -f ~/EasyRSA-3.0.4.tgz cd /etc/openvpn/easy-rsa/