1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lufi_ynh.git synced 2024-09-03 19:36:28 +02:00

PostgreSQL was remove before the db

This commit is contained in:
Kayou 2019-03-27 21:10:41 +01:00
parent c1b705c3eb
commit e1dbf1fb89
No known key found for this signature in database
GPG key ID: 823A2CBE071D3126

View file

@ -83,6 +83,13 @@ then
yunohost firewall disallow TCP $port 2>&1
fi
#=================================================
# REMOVE THE POSTGRESQL DATABASE
#=================================================
ynh_print_info "Removing the PostgreSQL database"
ynh_psql_remove_db $db_name $db_user
#=================================================
# REMOVE DEPENDENCIES
#=================================================
@ -91,13 +98,6 @@ ynh_print_info "Removing dependencies"
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE THE POSTGRESQL DATABASE
#=================================================
ynh_print_info "Removing the PostgreSQL database"
ynh_psql_remove_db $db_name $db_user
#=================================================
# GENERIC FINALIZATION
#=================================================