From 80f7ac573326f063da1ab882f13badb54427e697 Mon Sep 17 00:00:00 2001 From: Moul Date: Tue, 23 May 2017 11:56:34 +0200 Subject: [PATCH] [mod] remove: use apt, 'firewall disallow' alreay does it for IP6. --- scripts/remove | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index 14567a4..53bd38f 100644 --- a/scripts/remove +++ b/scripts/remove @@ -11,12 +11,11 @@ app=mumbleserver # Getting port used by mumble to close it port=$(ynh_app_setting_get $app port) -# Uninstall mumble and its dependencies -sudo apt-get autoremove -y mumble-server > /dev/null 2>&1 +# Uninstall Mumble and its dependencies +sudo apt autoremove -y mumble-server > /dev/null 2>&1 # Close ports sudo yunohost firewall disallow Both $port > /dev/null 2>&1 -sudo yunohost firewall disallow --ipv6 Both $port > /dev/null 2>&1 # Removing config file sudo rm -f /etc/mumble-server.ini