mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-24 09:49:04 +01:00
Fix APT repo for Ubuntu 16.04 (#421)
This commit is contained in:
parent
a0685af1a3
commit
73095990eb
@ -591,7 +591,7 @@ function installOpenVPN () {
|
|||||||
apt-get update
|
apt-get update
|
||||||
fi
|
fi
|
||||||
if [[ "$VERSION_ID" = "16.04" ]]; then
|
if [[ "$VERSION_ID" = "16.04" ]]; then
|
||||||
echo "deb http://build.openvpn.net/debian/openvpn/stable trusty main" > /etc/apt/sources.list.d/openvpn.list
|
echo "deb http://build.openvpn.net/debian/openvpn/stable xenial main" > /etc/apt/sources.list.d/openvpn.list
|
||||||
wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg | apt-key add -
|
wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg | apt-key add -
|
||||||
apt-get update
|
apt-get update
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user