From 1ac97918038297f51387e361b93c1b34b8351abf Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 1 Jun 2019 19:12:20 +0200 Subject: [PATCH] removed not needed read -p --- scripts/install | 5 ----- scripts/upgrade | 1 - 2 files changed, 6 deletions(-) diff --git a/scripts/install b/scripts/install index d98c482..9eb1cfa 100755 --- a/scripts/install +++ b/scripts/install @@ -13,11 +13,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 ffdfabb..ed57bb8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -46,7 +46,6 @@ ynh_script_progression --message="Backing up the app before upgrading (may take # 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 }