1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

reorder database and dependencies removal

This commit is contained in:
yalh76 2019-02-02 03:38:16 +01:00
parent e688f4a7ec
commit f656dd0e3c

View file

@ -43,6 +43,13 @@ fi
# Remove the dedicated systemd config
ynh_remove_systemd_config
#=================================================
# REMOVE THE MYSQL DATABASE
#=================================================
# Remove a database if it exists, along with the associated user
ynh_psql_remove_db "$db_name" "$app"
#=================================================
# REMOVE DEPENDENCIES
#=================================================
@ -51,12 +58,6 @@ ynh_remove_systemd_config
ynh_remove_app_dependencies
rm -f /etc/apt/sources.list.d/erlang-solutions.list
#=================================================
# REMOVE THE MYSQL DATABASE
#=================================================
# Remove a database if it exists, along with the associated user
ynh_psql_remove_db "$db_name" "$app"
#=================================================
# REMOVE APP MAIN DIR
#=================================================