diff --git a/scripts/remove b/scripts/remove index bb89968..ce59e16 100755 --- a/scripts/remove +++ b/scripts/remove @@ -47,14 +47,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." -- # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# REMOVE DEPENDENCIES -#================================================= -ynh_script_progression --message="Removing dependencies..." --weight=3 - -# Remove metapackage and its dependencies before removing PHP-FPM -ynh_remove_app_dependencies - #================================================= # REMOVE PHP-FPM CONFIGURATION #================================================= @@ -63,6 +55,14 @@ ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1 # Remove the dedicated PHP-FPM config ynh_remove_fpm_config +#================================================= +# REMOVE DEPENDENCIES +#================================================= +ynh_script_progression --message="Removing dependencies..." --weight=3 + +# Remove metapackage and its dependencies before removing PHP-FPM +ynh_remove_app_dependencies + #================================================= # GENERIC FINALIZATION #=================================================