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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/remove b/scripts/remove index b011da3..ad8d970 100755 --- a/scripts/remove +++ b/scripts/remove @@ -42,18 +42,18 @@ fi ynh_remove_systemd_config #================================================= -# REMOVE DEPENDENCIES +# REMOVE THE MYSQL DATABASE #================================================= -# Remove metapackage and its dependencies -ynh_remove_app_dependencies +# Remove a database if it exists, along with the associated user +ynh_mysql_remove_db $db_user $db_name #================================================= -# REMOVE THE MYSQL DATABASE +# REMOVE DEPENDENCIES #================================================= -# Remove a database if it exists, along with the associated user -ynh_mysql_remove_db $db_user $db_name +# Remove metapackage and its dependencies +ynh_remove_app_dependencies #================================================= # REMOVE APP MAIN DIR