1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prometheus_ynh.git synced 2024-09-03 20:16:01 +02:00

Do not overwrite config file during upgrade

This commit is contained in:
tituspijean 2022-05-31 18:45:25 +02:00
parent 345f3caecb
commit 3569944484
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -84,7 +84,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --source_id="app.$architecture"
ynh_setup_source --dest_dir="$final_path" --source_id="app.$architecture" --keep="prometheus.yml"
fi
chmod 750 "$final_path"