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:
parent
356d2ab6c3
commit
091c3de0f8
1 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,9 @@ if [ -z $backup_core_only ] # If backup_core_only setting set, don't backup data
|
|||
then
|
||||
ynh_backup /home/yunohost.app/${app}
|
||||
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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue