1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Backup / Restore update

This commit is contained in:
Krakinou 2018-12-27 17:49:59 +01:00
parent daac049877
commit dc24b71862
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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