mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update remove
This commit is contained in:
parent
9c14a3acdb
commit
115ec86dbb
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue