1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/elasticsearch8_ynh.git synced 2024-09-03 18:26:26 +02:00

Prevent warning

This commit is contained in:
Florent 2024-03-16 09:13:17 +01:00
parent 755a841490
commit 3a4ec4c5a9

View file

@ -38,7 +38,9 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=20 ynh_script_progression --message="Upgrading source files..." --weight=20
# Download, check integrity, uncompress and patch the source from app.src # 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 fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"