Force destination to be replaced

This commit is contained in:
yalh76 2021-02-27 20:39:55 +01:00
parent bb1d600227
commit c6d14219cc

View file

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