diff --git a/scripts/remove b/scripts/remove index cdbd89a..9e9495f 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=1 - -# 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=1 + +# Remove metapackage and its dependencies before removing php-fpm +ynh_remove_app_dependencies + #================================================= # GENERIC FINALIZATION #=================================================