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

Fix "sticking" backup_core_only setting

This commit is contained in:
Jimmy Monin 2017-12-22 20:57:49 +01:00
parent 356d2ab6c3
commit 091c3de0f8

View file

@ -44,7 +44,9 @@ if [ -z $backup_core_only ] # If backup_core_only setting set, don't backup data
then then
ynh_backup /home/yunohost.app/${app} ynh_backup /home/yunohost.app/${app}
else else
echo "Data dir won't be saved, because backup_core_only is set." >&2 echo "Data dir won't be saved, because backup_core_only is set." >&2
# Remove the option so that next regular backup will be complete
ynh_app_setting_delete $app backup_core_only
fi fi
#================================================= #=================================================