1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cinny_ynh.git synced 2024-09-03 18:16:13 +02:00

Reorder MYSQL DATABASE REMOVE before DEPENDENCIES REMOVE if using other DATABASE system

This commit is contained in:
yalh76 2019-02-07 17:14:54 +01:00
parent 5f43e443b9
commit 29d27f85f9

View file

@ -41,13 +41,6 @@ fi
# Remove the dedicated systemd config
ynh_remove_systemd_config
#=================================================
# REMOVE DEPENDENCIES
#=================================================
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE THE MYSQL DATABASE
#=================================================
@ -55,6 +48,13 @@ ynh_remove_app_dependencies
# Remove a database if it exists, along with the associated user
ynh_mysql_remove_db $db_user $db_name
#=================================================
# REMOVE DEPENDENCIES
#=================================================
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE APP MAIN DIR
#=================================================