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