mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
typotypo
This commit is contained in:
parent
36df907490
commit
3af6cc79e9
1 changed files with 5 additions and 3 deletions
|
@ -99,11 +99,13 @@ fi
|
|||
# MIGRATION 7 : Working config panel v1
|
||||
#=================================================
|
||||
backup_before_upgrade=$(ynh_app_setting_get --app=$app --key=backup_before_upgrade)
|
||||
if [ -z "$backup_before_upgrade" ] ; then
|
||||
#disable_backup_before_upgrade=$(ynh_app_setting_get --app=$app --key=disable_backup_before_upgrade)
|
||||
#if [ [ ] [ $disable_backup_before_upgrade ] ] ; then
|
||||
if [ -z $backup_before_upgrade ] ; then
|
||||
backup_before_upgrade="true"
|
||||
disable_backup_before_upgrade=$(ynh_app_setting_get --app=$app --key=disable_backup_before_upgrade)
|
||||
if $disable_backup_before_upgrade ; then
|
||||
backup_before_upgrade="false"
|
||||
fi
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
|
|
Loading…
Reference in a new issue