From af7928da3ad5ad9da9a002e570e486d134ee5911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 1 Apr 2024 00:22:02 +0200 Subject: [PATCH] Upgrade script: use --full_replace=1 because we actually want to cleanup the source_dir --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index f123f98..3cb68f0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -26,7 +26,7 @@ ynh_systemd_action --service_name="$app-machine-learning" --action="stop" ynh_script_progression --message="Upgrading source files..." --weight=1 source_dir="$install_dir/source" -ynh_setup_source --source_id="main" --dest_dir="$source_dir" +ynh_setup_source --source_id="main" --dest_dir="$source_dir" --full_replace=1 #================================================= # CHECK PYTHON VERSION AND COMPILE IF NEEDED