From cc058649ae5ad4ff8bac3014a7769d67e3f728e2 Mon Sep 17 00:00:00 2001 From: Kayou Date: Sun, 14 Jul 2019 13:10:42 +0200 Subject: [PATCH] Remove dependencies --- scripts/remove | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 4d54f9a..2a8974a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -6,7 +6,7 @@ # IMPORT GENERIC HELPERS #================================================= -# source _common.sh +source _common.sh source /usr/share/yunohost/helpers #================================================= @@ -30,6 +30,14 @@ ynh_script_progression --message="Removing the MySQL database" --weight=2 # Remove a database if it exists, along with the associated user ynh_mysql_remove_db --db_user=$db_name --db_name=$db_name +#================================================= +# REMOVE DEPENDENCIES +#================================================= +ynh_script_progression --message="Removing dependencies..." --weight=4 + +# Remove metapackage and its dependencies +ynh_remove_app_dependencies + #================================================= # REMOVE APP MAIN DIR #=================================================