diff --git a/scripts/upgrade b/scripts/upgrade index 0e6c27e..c1b75ef 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,7 +73,7 @@ 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="$final_path" --source_id="$YNH_ARCH" --keep="config/elasticsearch.yml config/jvm.options.d/yunohost.conf" + ynh_setup_source --dest_dir="$final_path" --source_id="$YNH_ARCH" --full_replace=1 --keep="config/elasticsearch.yml config/jvm.options.d/yunohost.conf" fi chmod 750 "$final_path"