From 379a6be4d03d5d5e12bf19b0bd5ef8bc84bba096 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 23 May 2019 12:19:03 +0200 Subject: [PATCH] remove read -p --- scripts/install | 5 ----- scripts/upgrade | 1 - 2 files changed, 6 deletions(-) diff --git a/scripts/install b/scripts/install index 4174c6d..b350864 100644 --- a/scripts/install +++ b/scripts/install @@ -14,11 +14,6 @@ source /usr/share/yunohost/helpers # MANAGE SCRIPT FAILURE #================================================= -ynh_clean_setup () { - read -p "key" - ### Remove this function if there's nothing to clean before calling the remove script. - true -} # Exit if an error occurs during the execution of the script ynh_abort_if_errors diff --git a/scripts/upgrade b/scripts/upgrade index 59ae381..b2ef960 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,7 +55,6 @@ ynh_print_info --message="Backing up the app before upgrading (may take a while) # Backup the current version of the app ynh_backup_before_upgrade ynh_clean_setup () { - read -p "key" # restore it if the upgrade fails ynh_restore_upgradebackup }