From 7c90f3135cf32db11924f93efff0062db3be03d2 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Mon, 15 Jan 2024 15:37:39 +0100 Subject: [PATCH] Update upgrade Fix full_replace arg --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4d5c3cd..dc99b5d 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/" --full_replace + ynh_setup_source --dest_dir="$final_path" --source_id="$database" --keep="var/invoices/ var/data/" --full_replace=1 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/"