Ensure debian and ubuntu get openvpn from the openvpn repo so they don't get an old server version

This commit is contained in:
Kaladin Light 2016-05-25 17:41:42 -04:00
parent 32f4674741
commit 3c0d0cb176
3 changed files with 19 additions and 7 deletions

View file

@ -83,7 +83,7 @@ echo ":::"
$SUDO rm -rf /var/log/*openvpn* &> /dev/null
if [[ $UINST_OVPN = 1 ]]; then
$SUDO rm -rf /etc/openvpn &> /dev/null
if [[ $PLAT = "Ubuntu" ]]; then
if [[ $PLAT == "Ubuntu" || $PLAT == "Debian" ]]; then
printf "::: Removing openvpn apt source..."
$SUDO rm -rf /etc/apt/sources.list.d/swupdate.openvpn.net.list &> /dev/null
$SUDO apt-get -qq update & spinner $!; printf "done!\n";