mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
Use official helper
This commit is contained in:
parent
79bf51d4a6
commit
03e787291b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ phpfpm_conf="/etc/php5/fpm/pool.d/$app.conf"
|
|||
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
|
||||
}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue