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

Merge pull request #17 from YunoHost-Apps/keep-yml

Do not overwrite config file during upgrade
This commit is contained in:
tituspijean 2022-05-31 18:51:22 +02:00 committed by GitHub
commit 429bfb5550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"