From 986707349f51f356b7a30e38c3a7745ff9379211 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Fri, 17 Feb 2017 12:04:59 +0000 Subject: [PATCH] Change database drop parameter to match install script --- scripts/remove | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index f288a3a..941fde9 100644 --- a/scripts/remove +++ b/scripts/remove @@ -9,8 +9,9 @@ app=$YNH_APP_INSTANCE_NAME source /usr/share/yunohost/helpers domain=$(ynh_app_setting_get $app domain) +db_user=$(ynh_app_setting_get $app db_user) -REMOVE_BDD $app # Suppression de la base de donnée et de l'utilisateur associé. +REMOVE_BDD $db_user # Suppression de la base de donnée et de l'utilisateur associé. SECURE_REMOVE '/var/www/$app' # Suppression du dossier de l'application