diff --git a/scripts/remove b/scripts/remove index 299ed38..272e743 100755 --- a/scripts/remove +++ b/scripts/remove @@ -54,16 +54,6 @@ ynh_script_progression --message="Removing logrotate configuration..." --weight= # Remove the app-specific logrotate config ynh_remove_logrotate -#================================================= -# CLOSE A PORT -#================================================= - -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 - #================================================= # SPECIFIC REMOVE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 4d74a79..4d45fbd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -57,16 +57,6 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 # Create a dedicated systemd config ynh_add_systemd_config -#================================================= -# UPDATE A CONFIG FILE -#================================================= -ynh_script_progression --message="Updating the configuration file.." --weight=1 - -ynh_add_config --template="../conf/config.xml" --destination="$data_dir/config.xml" - -chmod 400 "$data_dir/config.xml" -chown $app:$app "$data_dir/config.xml" - #================================================= # GENERIC FINALIZATION #=================================================