1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Put back ynh_clean_setup

This commit is contained in:
ericgaspar 2021-01-16 14:12:15 +01:00
parent 7561fb4bec
commit 6d041fda5f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

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