From ee9750a2107d19f460eb7535073e8e7712c01241 Mon Sep 17 00:00:00 2001 From: Nyr Date: Thu, 19 Dec 2013 22:09:20 +0100 Subject: [PATCH] Use Easy-RSA 2.2.2 instead of the master branch with Debian Jessie and Ubuntu Saucy This was needed for Debian Jessie, but using always the latest Easy-RSA was a bad idea. I will force Easy-RSA 2.2.2 for now and until Jessie becomes stable. Then we can probably just use the distro packages instead of Github, but for now this will work. --- openvpn-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index bb3b91c..b696b76 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -129,11 +129,11 @@ else cp -R /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn # easy-rsa isn't available by default for Debian Jessie and newer if [ ! -d /etc/openvpn/easy-rsa/2.0/ ]; then - wget --no-check-certificate -O ~/easy-rsa.tar.gz https://github.com/OpenVPN/easy-rsa/archive/master.tar.gz + wget --no-check-certificate -O ~/easy-rsa.tar.gz https://github.com/OpenVPN/easy-rsa/archive/2.2.2.tar.gz tar xzf ~/easy-rsa.tar.gz -C ~/ mkdir -p /etc/openvpn/easy-rsa/2.0/ - cp ~/easy-rsa-master/easy-rsa/2.0/* /etc/openvpn/easy-rsa/2.0/ - rm -rf ~/easy-rsa-master + cp ~/easy-rsa-2.2.2/easy-rsa/2.0/* /etc/openvpn/easy-rsa/2.0/ + rm -rf ~/easy-rsa-2.2.2 rm -rf ~/easy-rsa.tar.gz fi cd /etc/openvpn/easy-rsa/2.0/