From 89cfdff4dacfddc6b7d8fe46bda3b61b39437c86 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Sat, 11 Mar 2017 21:44:57 +0100 Subject: [PATCH] with_mysql ne fonctionne pas correctement --- scripts/remove | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index 28b58b0..d330375 100644 --- a/scripts/remove +++ b/scripts/remove @@ -11,16 +11,16 @@ app=$YNH_APP_INSTANCE_NAME # Retrieve app settings domain=$(ynh_app_setting_get "$app" domain) -with_mysql=$(ynh_app_setting_get "$app" with_mysql) +# with_mysql=$(ynh_app_setting_get "$app" with_mysql) # Drop MySQL database and user as needed -if [[ $with_mysql -eq 1 ]]; then +#if [[ $with_mysql -eq 1 ]]; then dbname=$app dbuser=$app dbpass=$(ynh_app_setting_get "$app" mysqlpwd) ynh_mysql_drop_db $dbname || true ynh_mysql_drop_user $dbuser || true -fi +#fi # Delete app directory and configurations sudo rm -rf "/var/www/${app}"