From dc24b718620edd3eaa492f76f2d5681f85145961 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Thu, 27 Dec 2018 17:49:59 +0100 Subject: [PATCH] Backup / Restore update --- scripts/backup | 3 ++- scripts/install | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index 04ba6cd..1068e4b 100755 --- a/scripts/backup +++ b/scripts/backup @@ -70,7 +70,8 @@ backup_core_only=$(ynh_app_setting_get "$app" backup_core_only) # If backup_core_only have any value in the settings.yml file, do not backup the data directory if [ ! -z $backup_core_only ] then + ynh_print_info "Backing up the library folder $calibre_dir" ynh_backup "$calibre_dir" else - echo "Data dir will not be saved, because backup_core_only is set." >&2 + ynh_print_info "Data dir will not be saved, because backup_core_only is set." >&2 fi diff --git a/scripts/install b/scripts/install index d551182..b4fbf0f 100755 --- a/scripts/install +++ b/scripts/install @@ -14,7 +14,7 @@ source /usr/share/yunohost/helpers #================================================= # Exit if an error occurs during the execution of the script -#ynh_abort_if_errors +ynh_abort_if_errors #================================================= # RETRIEVE ARGUMENTS FROM THE MANIFEST