mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
Fix upgrade
This commit is contained in:
parent
754b3aac54
commit
5f5cc96d5c
2 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,6 @@ source /usr/share/yunohost/helpers
|
|||
|
||||
ynh_clean_setup () {
|
||||
#### Remove this function if there's nothing to clean before calling the remove script.
|
||||
read -p "Press any key..."
|
||||
true
|
||||
}
|
||||
# Exit if an error occurs during the execution of the script
|
||||
|
|
|
@ -57,6 +57,7 @@ ynh_print_info "Backing up the app before upgrading (may take a while)..."
|
|||
ynh_backup_before_upgrade
|
||||
ynh_clean_setup () {
|
||||
# restore it if the upgrade fails
|
||||
read -p "Press any key..."
|
||||
ynh_restore_upgradebackup
|
||||
}
|
||||
# Exit if an error occurs during the execution of the script
|
||||
|
|
Loading…
Add table
Reference in a new issue