1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
This commit is contained in:
gredin67 2023-01-11 18:13:23 +01:00
parent 36df907490
commit 3af6cc79e9

View file

@ -99,11 +99,13 @@ fi
# MIGRATION 7 : Working config panel v1 # MIGRATION 7 : Working config panel v1
#================================================= #=================================================
backup_before_upgrade=$(ynh_app_setting_get --app=$app --key=backup_before_upgrade) backup_before_upgrade=$(ynh_app_setting_get --app=$app --key=backup_before_upgrade)
if [ -z "$backup_before_upgrade" ] ; then if [ -z $backup_before_upgrade ] ; then
#disable_backup_before_upgrade=$(ynh_app_setting_get --app=$app --key=disable_backup_before_upgrade) backup_before_upgrade="true"
#if [ [ ] [ $disable_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
backup_before_upgrade="false" backup_before_upgrade="false"
fi fi
fi
#================================================= #=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP