From c96a71c7d6ca3baaa375de8aff3e9371f4ba63c4 Mon Sep 17 00:00:00 2001 From: angristan Date: Sat, 22 Sep 2018 11:40:54 +0200 Subject: [PATCH] Fix OpenVPN repo for Debian 8 --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index f8c2f3a..08ec1a1 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -335,7 +335,7 @@ function installOpenVPN () { apt-get update apt-get install ca-certificates gnupg -y # We add the OpenVPN repo to get the latest version. - if [[ "$VERSION_ID" = 'VERSION_ID="8"' ]]; then + if [[ "$VERSION_ID" = "8" ]]; then echo "deb http://build.openvpn.net/debian/openvpn/stable jessie main" > /etc/apt/sources.list.d/openvpn.list wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg | apt-key add - apt-get update