Merge pull request #1175 from yalh76/ynh_add_config

[enh] - Force destination to be replaced
This commit is contained in:
Alexandre Aubin 2021-02-27 20:47:47 +01:00 committed by GitHub
commit 9480678aa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,7 +316,7 @@ ynh_add_config () {
ynh_backup_if_checksum_is_different --file="$destination"
cp "$template_path" "$destination"
cp -f "$template_path" "$destination"
chown root: "$destination"
ynh_replace_vars --file="$destination"