From e4c1e41ee832b5eef03115c10267b7944549e752 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:07:44 +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 fd395a9..2551d28 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,7 +27,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="qa-config.php" -ynh_setup_source --source_id="ldap" --dest_dir="$install_dir/qa-plugin/qa-ldap-login" +ynh_setup_source --source_id="ldap" --dest_dir="$install_dir/qa-plugin/qa-ldap-login" --full_replace=1 ynh_replace_string \ --target_file="$install_dir/qa-include/pages/login.php" \ @@ -35,7 +35,7 @@ ynh_replace_string \ --replace_string="require_once QA_INCLUDE_DIR . 'db/selects.php';\r\n require_once QA_INCLUDE_DIR . '../qa-plugin/qa-ldap-login/qa-ldap-process.php';" if [ "$language" == "fr" ]; then - ynh_setup_source --source_id="lang_fr" --dest_dir="$install_dir/qa-lang/fr" + ynh_setup_source --source_id="lang_fr" --dest_dir="$install_dir/qa-lang/fr" --full_replace=1 fi chmod 750 "$install_dir"