From c7ae50a5962cf6efce3b76b2183fc748d934c82d Mon Sep 17 00:00:00 2001 From: Kay0u Date: Mon, 28 Aug 2023 10:42:28 +0200 Subject: [PATCH] remove unnecessary code in remove script --- scripts/remove | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/scripts/remove b/scripts/remove index 85c9d04..0ec93c2 100644 --- a/scripts/remove +++ b/scripts/remove @@ -51,21 +51,6 @@ ynh_script_progression --message="Removing NGINX web server configuration" --wei # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# CLOSE A PORT -#================================================= - -# These ports are no longer open but were in previous versions -if yunohost firewall list | grep -q "\- $port$"; then - ynh_script_progression --message="Closing port $port" --weight=1 - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi - -if yunohost firewall list | grep -q "\- $portPuma$"; then - ynh_script_progression --message="Closing port $portPuma" --weight=1 - ynh_exec_warn_less yunohost firewall disallow TCP $portPuma -fi - #================================================= # SPECIFIC REMOVE #=================================================