From 5f5cc96d5c55649b257b8fb64285956b6beabc83 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 27 Feb 2019 23:52:12 +0100 Subject: [PATCH] Fix upgrade --- scripts/restore | 1 - scripts/upgrade | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 8345b3a..bfc5b50 100644 --- a/scripts/restore +++ b/scripts/restore @@ -15,7 +15,6 @@ source /usr/share/yunohost/helpers ynh_clean_setup () { #### Remove this function if there's nothing to clean before calling the remove script. - read -p "Press any key..." true } # Exit if an error occurs during the execution of the script diff --git a/scripts/upgrade b/scripts/upgrade index 08c1653..516f780 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -57,6 +57,7 @@ ynh_print_info "Backing up the app before upgrading (may take a while)..." ynh_backup_before_upgrade ynh_clean_setup () { # restore it if the upgrade fails + read -p "Press any key..." ynh_restore_upgradebackup } # Exit if an error occurs during the execution of the script