From 5726c1fcc1958f7b726e8a9fd0aa7946c22e0080 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:04:48 +0100 Subject: [PATCH] [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4fff87f..b34e21c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -34,7 +34,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=3 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --keep="config.json" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config.json" fi chmod -R o-rwx "$install_dir" @@ -87,7 +87,7 @@ ynh_script_progression --message="Building webircgateway..." --weight=4 mkdir -p $webircgateway_path tempdir="$(mktemp -d)" -ynh_setup_source --dest_dir=$tempdir --source_id="webircgateway" +ynh_setup_source --dest_dir=$tempdir --source_id="webircgateway" --full_replace=1 pushd $tempdir ynh_use_go export GOPATH="$tempdir/go"