From 3a4ec4c5a93fd170575bf1f1f4f9bdc02a468699 Mon Sep 17 00:00:00 2001 From: Florent Date: Sat, 16 Mar 2024 09:13:17 +0100 Subject: [PATCH] Prevent warning --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 19e4232..ccc78e5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,9 @@ then ynh_script_progression --message="Upgrading source files..." --weight=20 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --full_replace=1 + # The keep option prevents this warning: + # "File .... has been manually modified since the installation or last upgrade." + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/elasticsearch.yml" fi chmod -R o-rwx "$install_dir"