From 767cfb42b4c855537ee81560313bc931c5242f78 Mon Sep 17 00:00:00 2001 From: Melchisedech Date: Wed, 23 Feb 2022 00:35:54 +0100 Subject: [PATCH] Restore the .db file after upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index c891f38..01c81e9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -150,8 +150,9 @@ ynh_add_fpm_config #================================================= # SPECIFIC UPGRADE #================================================= -# ... +# TAKE BACK THE OLD digiwords.db file #================================================= +ynh_restore_file -o "/var/www/digiwords/inc/digiwords.db" #================================================= # GENERIC FINALIZATION