From 3ccefd8fca0129fab968467e54f43eb2f34cd266 Mon Sep 17 00:00:00 2001 From: liberodark Date: Mon, 29 Jul 2019 20:38:40 +0200 Subject: [PATCH] fix --- scripts/remove | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/remove b/scripts/remove index 4e909a0..4b37728 100644 --- a/scripts/remove +++ b/scripts/remove @@ -44,12 +44,12 @@ ynh_print_info "Stopping and removing the systemd service" ynh_remove_systemd_config #================================================= -# REMOVE THE POSTGRESQL DATABASE +# REMOVE THE MYSQL DATABASE #================================================= -ynh_print_info "Removing the PostgreSQL database" +ynh_print_info "Removing the MySQL database" # Remove a database if it exists, along with the associated user -ynh_psql_remove_db $db_name $db_name +ynh_mysql_remove_db $db_user $db_name #================================================= # REMOVE DEPENDENCIES @@ -58,7 +58,6 @@ ynh_print_info "Removing dependencies" # Remove metapackage and its dependencies ynh_remove_app_dependencies -ynh_package_remove pufferd #================================================= # REMOVE APP MAIN DIR @@ -131,6 +130,4 @@ ynh_system_user_delete $app # END OF SCRIPT #================================================= -ynh_print_info "Removal of $app completed" - - +ynh_print_info "Removal of $app completed" \ No newline at end of file