mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
Fix dependencies removal
This commit is contained in:
parent
4d1e103cc9
commit
5eeb239f8d
1 changed files with 2 additions and 8 deletions
|
@ -57,6 +57,8 @@ if [ -z $gui_port ]; then
|
|||
|
||||
mkdir -p $final_path
|
||||
cp -R $OLD_SYNCHOME/.config $final_path/.config
|
||||
|
||||
ynh_remove_app_dependencies
|
||||
fi
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
|
@ -98,14 +100,6 @@ ynh_print_info "Upgrading nginx web server configuration..."
|
|||
# Create a dedicated nginx config
|
||||
ynh_add_nginx_config "gui_port"
|
||||
|
||||
#=================================================
|
||||
# REMOVE DEPENDENCIES
|
||||
#=================================================
|
||||
ynh_print_info "Removing dependencies"
|
||||
|
||||
# Remove metapackage and its dependencies
|
||||
ynh_remove_app_dependencies
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue