From 85cb50198568cdd852eb1ef541ace25c3fd21aff Mon Sep 17 00:00:00 2001 From: Sylvain Date: Sun, 7 Apr 2024 21:25:25 +0200 Subject: [PATCH] Fix upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index b0aefd7..a9bfbca 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,6 +25,7 @@ ynh_systemd_action --service_name="$app-machine-learning" --action="stop" #================================================= ynh_script_progression --message="Upgrading source files..." --weight=1 +ynh_secure_remove --file="$install_dir" source_dir="$install_dir/source" ynh_setup_source --source_id="main" --dest_dir="$source_dir" --full_replace=1