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:
parent
7561fb4bec
commit
6d041fda5f
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue