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:
parent
daac049877
commit
dc24b71862
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue