From 822840842b1d310fbbd1d8d684423b951a385c12 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Mon, 15 Jan 2024 13:33:38 +0100 Subject: [PATCH] Update upgrade Do full replace for setup sources when major upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 16c7639..4d5c3cd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -121,7 +121,7 @@ then # Download, check integrity, uncompress and patch the source from app.src # Remove local.yaml as recommended for major version upgrade https://github.com/kimai/kimai/blob/main/UPGRADING.md - ynh_setup_source --dest_dir="$final_path" --source_id="$database" --keep="var/invoices/ var/data/" + ynh_setup_source --dest_dir="$final_path" --source_id="$database" --keep="var/invoices/ var/data/" --full_replace else # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --source_id="$database" --keep="config/packages/local.yaml var/invoices/ var/data/"