From 68d09a294faf2c8ad0f06937d4f753ecd889c54d Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Tue, 16 Jan 2024 11:48:32 +0100 Subject: [PATCH] Update upgrade Remove obsolete source_id --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a41f128..fca96d9 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -119,10 +119,10 @@ 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 # As a full_replace (see https://www.kimai.org/documentation/updates.html) is performed keep .env file - ynh_setup_source --dest_dir="$final_path" --source_id="$database" --keep=".env var/invoices/ var/data/" --full_replace=1 + ynh_setup_source --dest_dir="$final_path" --keep=".env 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/" + ynh_setup_source --dest_dir="$final_path" --keep="config/packages/local.yaml var/invoices/ var/data/" fi fi