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