1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-06-06 21:40:47 +00:00

More proper remove

openvpn-blacklist isn't installed with Debian 9.
This commit is contained in:
Angristan 2017-06-18 21:07:15 +02:00 committed by GitHub
parent 0bc1e6ea59
commit 5d40c041dd

View File

@ -164,7 +164,7 @@ if [[ -e /etc/openvpn/server.conf ]]; then
fi
fi
if [[ "$OS" = 'debian' ]]; then
apt-get remove --purge -y openvpn openvpn-blacklist
apt-get autoremove --purge -y openvpn
elif [[ "$OS" = 'arch' ]]; then
pacman -R openvpn --noconfirm
else