diff --git a/scripts/upgrade b/scripts/upgrade index 2605977..3934b2e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -42,20 +42,6 @@ if [ -z $final_path ]; then ynh_app_setting_set $app final_path $final_path fi -#================================================= -# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP -#================================================= -ynh_print_info "Backing up the app before upgrading (may take a while)..." - -# Backup the current version of the app -ynh_backup_before_upgrade -ynh_clean_setup () { - # restore it if the upgrade fails - ynh_restore_upgradebackup -} -# Exit if an error occurs during the execution of the script -ynh_abort_if_errors - if [ -z "$statedir" ]; then statedir="/home/yunohost.app/$app"