diff --git a/scripts/upgrade b/scripts/upgrade index 8d111d8..40b5b11 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================