1
0
Fork 0
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:
yalh76 2019-04-17 01:54:01 +02:00
parent 4d1e103cc9
commit 5eeb239f8d

View file

@ -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
#=================================================