mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Fix restore on failed upgrade
This commit is contained in:
parent
89eddb9e13
commit
b927abb98b
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ is_public=$(ynh_app_setting_get "$app" is_public)
|
|||
if [ -f "/etc/yunohost/apps/$app/scripts/backup" ] ; then
|
||||
ynh_backup_before_upgrade # Backup the current version of the app
|
||||
ynh_clean_setup () {
|
||||
ynh_backup_after_failed_upgrade
|
||||
ynh_restore_upgradebackup
|
||||
}
|
||||
ynh_abort_if_errors # Stop script if an error is detected
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue