mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
upgrade: ynh_clean_check_starting
This commit is contained in:
parent
50a3c2a6bd
commit
1462b19215
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ ynh_print_info "Backing up the app before upgrading (may take a while)..."
|
||||||
# Backup the current version of the app
|
# Backup the current version of the app
|
||||||
ynh_backup_before_upgrade
|
ynh_backup_before_upgrade
|
||||||
ynh_clean_setup () {
|
ynh_clean_setup () {
|
||||||
|
ynh_clean_check_starting
|
||||||
# restore it if the upgrade fails
|
# restore it if the upgrade fails
|
||||||
ynh_restore_upgradebackup
|
ynh_restore_upgradebackup
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue