Browse Source

Put back ynh_clean_setup

pull/364/head
ericgaspar 5 years ago
parent
commit
6d041fda5f
No known key found for this signature in database GPG Key ID: 574F281483054D44
  1. 5
      scripts/upgrade

5
scripts/upgrade

@ -87,6 +87,11 @@ then
# Remove the option backup_core_only after the backup. # Remove the option backup_core_only after the backup.
ynh_app_setting_delete $app backup_core_only ynh_app_setting_delete $app backup_core_only
ynh_clean_setup () {
# restore it if the upgrade fails
ynh_restore_upgradebackup
}
fi fi
# Exit if an error occurs during the execution of the script # Exit if an error occurs during the execution of the script

Loading…
Cancel
Save