From d4876b093a22a4de25076f132ed28dae84fa6fe7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 30 Nov 2021 14:46:58 +0100 Subject: [PATCH] Update remove --- scripts/remove | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/remove b/scripts/remove index ec0cb08..07723e9 100755 --- a/scripts/remove +++ b/scripts/remove @@ -60,14 +60,6 @@ ynh_script_progression --message="Removing the MySQL database..." --time --weigh # Remove a database if it exists, along with the associated user ynh_mysql_remove_db --db_user=$db_user --db_name=$db_name -#================================================= -# REMOVE DEPENDENCIES -#================================================= -ynh_script_progression --message="Removing dependencies..." --time --weight=1 - -# Remove metapackage and its dependencies -ynh_remove_app_dependencies - #================================================= # REMOVE APP MAIN DIR #================================================= @@ -103,6 +95,14 @@ ynh_script_progression --message="Removing PHP-FPM configuration..." --time --we # Remove the dedicated PHP-FPM config ynh_remove_fpm_config +#================================================= +# REMOVE DEPENDENCIES +#================================================= +ynh_script_progression --message="Removing dependencies..." --time --weight=1 + +# Remove metapackage and its dependencies +ynh_remove_app_dependencies + #================================================= # CLOSE A PORT #=================================================