mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
Autoremove after purging
This commit is contained in:
parent
e37fa065ea
commit
7d6e9bf1e1
@ -149,7 +149,8 @@ if [[ -e /etc/openvpn/server.conf ]]; then
|
||||
semanage port -d -t openvpn_port_t -p $PROTOCOL $PORT
|
||||
fi
|
||||
if [[ "$OS" = 'debian' ]]; then
|
||||
apt remove --purge openvpn stunnel4 -y
|
||||
apt purge openvpn stunnel4 -y
|
||||
apt autoremove --purge -y
|
||||
else
|
||||
yum remove openvpn stunnel4 -y
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user