mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
Fix removal
This commit is contained in:
parent
875b13bdae
commit
efb73ed910
1 changed files with 8 additions and 8 deletions
|
@ -30,14 +30,6 @@ ynh_print_info "Stopping OnlyOffice"
|
|||
|
||||
supervisorctl stop all
|
||||
|
||||
#=================================================
|
||||
# REMOVE THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
ynh_print_info "Removing the PostgreSQL database"
|
||||
|
||||
# Remove a database if it exists, along with the associated user
|
||||
ynh_psql_remove_db $db_name $db_name
|
||||
|
||||
#=================================================
|
||||
# REMOVE ONLYOFFICE
|
||||
#=================================================
|
||||
|
@ -46,6 +38,14 @@ ynh_print_info "Removing OnlyOffice"
|
|||
ynh_secure_remove /var/lib/dpkg/info/onlyoffice-documentserver.prerm
|
||||
ynh_package_autoremove onlyoffice-documentserver
|
||||
|
||||
#=================================================
|
||||
# REMOVE THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
ynh_print_info "Removing the PostgreSQL database"
|
||||
|
||||
# Remove a database if it exists, along with the associated user
|
||||
ynh_psql_remove_db $db_name $db_name
|
||||
|
||||
#=================================================
|
||||
# REMOVE DEPENDENCIES
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue