From 80377e56c51deedcac19a899da314e1cff6ca8b7 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:04:55 +0100 Subject: [PATCH] [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index cb9b69e..d4a68a9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -60,7 +60,7 @@ ynh_add_config --template="$YNH_APP_BASEDIR/conf/$architecture.src.default" --de tempdir="$(mktemp -d)" -ynh_setup_source --dest_dir=$tempdir --source_id=$architecture +ynh_setup_source --dest_dir=$tempdir --source_id=$architecture --full_replace=1 if ! ynh_exec_warn_less dpkg -i $tempdir/$gitlab_filename ; then # This command will fail in lxc env diff --git a/scripts/upgrade b/scripts/upgrade index c87e646..69331ee 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -238,7 +238,7 @@ then tempdir="$(mktemp -d)" - ynh_setup_source --dest_dir=$tempdir --source_id=$architecture + ynh_setup_source --dest_dir=$tempdir --source_id=$architecture --full_replace=1 if ! ynh_exec_warn_less dpkg -i $tempdir/$gitlab_filename; then # This command will fail in lxc env package_check_action # defined in upgrade.d/upgrade.X.sh