From 4aac6c58e38a59aa779c7fa6651ebb39753ce0bc Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 19 Jan 2023 20:17:10 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index b29c585..a4491f7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -89,10 +89,11 @@ then mv ${final_path} ${final_path}.old # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source "$final_path" --keep="modules_v4/" + ynh_setup_source "$final_path" # restore data cp -a ${final_path}.old/data ${final_path} + cp -a ${final_path}.old/modules_v4 ${final_path} # delete temp directory ynh_secure_remove --file=${final_path}.old