From 875b13bdaefeaa42681cdca2a3785c27b2c3e8e0 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 28 Feb 2019 22:44:25 +0100 Subject: [PATCH] Fix install --- scripts/install | 1 + scripts/upgrade | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 730e665..048ae97 100644 --- a/scripts/install +++ b/scripts/install @@ -15,6 +15,7 @@ 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 b153f64..3cc0254 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -58,7 +58,6 @@ 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