From 115ec86dbb81139aa0bcf8bc9034ab42fc31b440 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 11 Mar 2018 13:54:44 +0100 Subject: [PATCH] Update remove --- scripts/remove | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/remove b/scripts/remove index fef4472..a282c07 100644 --- a/scripts/remove +++ b/scripts/remove @@ -40,13 +40,6 @@ then yunohost service remove $app fi -#================================================= -# REMOVE DEPENDENCIES -#================================================= - -# Remove metapackage and its dependencies -ynh_remove_app_dependencies - #================================================= # REMOVE THE MONGO DATABASE #================================================= @@ -56,6 +49,13 @@ mongo -u $dbuser -p$dbpass --authenticationDatabase $dbname --shell "$dbname" -- mongo -u $dbuser -p$dbpass --authenticationDatabase $dbname --shell "$dbname" --eval 'db.dropDatabase();' <<< exit #mongo --shell "$dbname" --eval 'db.dropDatabase();' <<< exit +#================================================= +# REMOVE DEPENDENCIES +#================================================= + +# Remove metapackage and its dependencies +ynh_remove_app_dependencies + #================================================= # REMOVE APP MAIN DIR #=================================================