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

backup_core_only

This commit is contained in:
Krakinou 2018-12-16 19:04:12 +01:00
parent 20efd9598e
commit aa47adcd55

View file

@ -63,7 +63,7 @@ ynh_backup "/etc/systemd/system/$app.service"
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 ]
if [ ! -z $backup_core_only ]
then
ynh_backup "$calibre_dir"
else