1
0
Fork 0
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:
ewilly 2018-02-05 19:37:22 +01:00
parent 79bf51d4a6
commit 03e787291b

View file

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