From ffdc3411964b6d35e3cdc41598307b0c0f7bfeb9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 6 Aug 2019 21:18:00 +0200 Subject: [PATCH] Fix ynh_clean_check_starting --- scripts/backup | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/backup b/scripts/backup index 9f687b4..2a5821e 100644 --- a/scripts/backup +++ b/scripts/backup @@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_clean_setup () { - true + ynh_clean_check_starting } # Exit if an error occurs during the execution of the script ynh_abort_if_errors diff --git a/scripts/install b/scripts/install index f344bb2..7de3f18 100644 --- a/scripts/install +++ b/scripts/install @@ -14,7 +14,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_clean_setup () { - true + ynh_clean_check_starting } # Exit if an error occurs during the execution of the script ynh_abort_if_errors diff --git a/scripts/restore b/scripts/restore index 89b49bd..06c6649 100644 --- a/scripts/restore +++ b/scripts/restore @@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_clean_setup () { - true + ynh_clean_check_starting } # Exit if an error occurs during the execution of the script ynh_abort_if_errors diff --git a/scripts/upgrade b/scripts/upgrade index 505689f..2c46a60 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,6 +54,7 @@ ynh_backup_before_upgrade ynh_clean_setup () { # restore it if the upgrade fails ynh_restore_upgradebackup + ynh_clean_check_starting } # Exit if an error occurs during the execution of the script ynh_abort_if_errors