From 15a4a99871e0e4ce1343b279f493e8abb733a5b8 Mon Sep 17 00:00:00 2001 From: Melchisedech Date: Wed, 23 Feb 2022 23:24:53 +0100 Subject: [PATCH] Restoring old database after upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 01c81e9..3887df4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -152,7 +152,8 @@ ynh_add_fpm_config #================================================= # TAKE BACK THE OLD digiwords.db file #================================================= -ynh_restore_file -o "/var/www/digiwords/inc/digiwords.db" +ynh_script_progression --message="Restoring database..." --time --weight=1 +ynh_restore_file -o "$final_pat/inc/digiwords.db" #================================================= # GENERIC FINALIZATION