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:
parent
755a841490
commit
3a4ec4c5a9
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue