1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-11-18 02:05:12 +00:00

Fix APT repo for Ubuntu 16.04 (#421)

This commit is contained in:
Kcchouette 2019-05-13 18:38:10 +02:00 committed by Stanislas
parent a0685af1a3
commit 73095990eb

View File

@ -591,7 +591,7 @@ function installOpenVPN () {
apt-get update
fi
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 -
apt-get update
fi