mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-11-21 23:32:40 +01:00
Fix OpenVPN repo for Debian 8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user