mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
[enh] rename default into auto
This commit is contained in:
parent
b641cea407
commit
09bbf4d812
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ db_name=$(ynh_app_setting_get $app db_name)
|
|||
# APPLY BACKUP CORE ONLY POLICY
|
||||
#=================================================
|
||||
# Apply policy only if we are not in upgrade mode
|
||||
BACKUP_CORE_ONLY=${BACKUP_CORE_ONLY:-default}
|
||||
if [ "$BACKUP_CORE_ONLY" == "default" ] ; then
|
||||
BACKUP_CORE_ONLY=${BACKUP_CORE_ONLY:-auto}
|
||||
if [ "$BACKUP_CORE_ONLY" == "auto" ] ; then
|
||||
BACKUP_CORE_ONLY=$(ynh_app_setting_get $app backup_core_only)
|
||||
BACKUP_CORE_ONLY=${BACKUP_CORE_ONLY:-0}
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue