From b6f887d4e36f6de39fd43dec7ab5e61abad653c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 7 Apr 2023 10:24:07 +0200 Subject: [PATCH] cleaning --- scripts/remove | 4 ---- scripts/upgrade | 8 -------- 2 files changed, 12 deletions(-) diff --git a/scripts/remove b/scripts/remove index f3b6d42..23b6f46 100755 --- a/scripts/remove +++ b/scripts/remove @@ -27,10 +27,6 @@ ynh_script_progression --message="Removing various files..." --weight=1 # Remove the log files ynh_secure_remove --file="/var/log/$app" -#================================================= -# GENERIC FINALIZATION -#================================================= - #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 04c34c5..26dc36a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -34,14 +34,6 @@ fi chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" -#================================================= -# SPECIFIC UPGRADE -#================================================= - -ynh_remove_nodejs || true -ynh_remove_fail2ban_config -ynh_app_setting_delete --app=$app --key=port - #================================================= # NGINX CONFIGURATION #=================================================