mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
wait for rollback if upgrade fail
This commit is contained in:
parent
1edbbff444
commit
f63c1f65c7
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ fi
|
||||||
ynh_backup_before_upgrade
|
ynh_backup_before_upgrade
|
||||||
ynh_clean_setup () {
|
ynh_clean_setup () {
|
||||||
# restore it if the upgrade fails
|
# restore it if the upgrade fails
|
||||||
|
read -p "Press any key..."
|
||||||
ynh_restore_upgradebackup
|
ynh_restore_upgradebackup
|
||||||
ynh_clean_check_starting
|
ynh_clean_check_starting
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue