From d787f7ac1b2760e84484041539c1c7b9ad053065 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:05:38 +0100 Subject: [PATCH] [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 --- scripts/restore | 2 +- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index 8dff3e5..4560a1b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,7 +77,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_script_progression --message="Installing Jenkins..." # Download jenkins deb file and install it. -ynh_setup_source --dest_dir="../conf" +ynh_setup_source --dest_dir="../conf" --full_replace=1 dpkg --install --force-confnew ../conf/jenkins.deb #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 4cf4a78..f44abc0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,8 +110,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." # Download jenkins deb file and install it. - ynh_setup_source --dest_dir="../conf" - ynh_setup_source --source_id="jenkins-plugin-manager" --dest_dir="$final_path" + ynh_setup_source --dest_dir="../conf" --full_replace=1 + ynh_setup_source --source_id="jenkins-plugin-manager" --dest_dir="$final_path" --full_replace=1 chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:$app "$final_path"