From 29d27f85f9044c25a38eb0bd0f65175295f9f76e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 7 Feb 2019 17:14:54 +0100 Subject: [PATCH] Reorder MYSQL DATABASE REMOVE before DEPENDENCIES REMOVE if using other DATABASE system --- scripts/remove | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/remove b/scripts/remove index b011da3..ad8d970 100755 --- a/scripts/remove +++ b/scripts/remove @@ -41,13 +41,6 @@ fi # Remove the dedicated systemd config ynh_remove_systemd_config -#================================================= -# REMOVE DEPENDENCIES -#================================================= - -# Remove metapackage and its dependencies -ynh_remove_app_dependencies - #================================================= # REMOVE THE MYSQL DATABASE #================================================= @@ -55,6 +48,13 @@ ynh_remove_app_dependencies # Remove a database if it exists, along with the associated user ynh_mysql_remove_db $db_user $db_name +#================================================= +# REMOVE DEPENDENCIES +#================================================= + +# Remove metapackage and its dependencies +ynh_remove_app_dependencies + #================================================= # REMOVE APP MAIN DIR #=================================================