mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-24 08:10:10 +00:00
Ensure debian and ubuntu get openvpn from the openvpn repo so they don't get an old server version
This commit is contained in:
parent
32f4674741
commit
3c0d0cb176
3 changed files with 19 additions and 7 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue