From 0397827abed7f7ea339409e35dd4191df035cbfb Mon Sep 17 00:00:00 2001 From: Nyr Date: Mon, 11 Sep 2017 18:53:49 +0200 Subject: [PATCH] Resolves #353 --- openvpn-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index 314d53f..1e3fbf1 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -235,6 +235,9 @@ else # Get easy-rsa wget -O ~/EasyRSA-3.0.3.tgz "https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.3/EasyRSA-3.0.3.tgz" tar xzf ~/EasyRSA-3.0.3.tgz -C ~/ + # Temporal fix for issue #353, which is caused by OpenVPN/easy-rsa#135 + # Will be removed as soon as a new release of easy-rsa is available + sed -i 's/\[\[/\[/g;s/\]\]/\]/g;s/==/=/g' ~/EasyRSA-3.0.3/easyrsa mv ~/EasyRSA-3.0.3/ /etc/openvpn/ mv /etc/openvpn/EasyRSA-3.0.3/ /etc/openvpn/easy-rsa/ chown -R root:root /etc/openvpn/easy-rsa/