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
1 changed files with 1 additions and 1 deletions

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