1
0
Fork 0
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:
ljf (zamentur) 2019-04-15 14:59:53 +02:00 committed by GitHub
parent b641cea407
commit 09bbf4d812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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