mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1175 from yalh76/ynh_add_config
[enh] - Force destination to be replaced
This commit is contained in:
commit
9480678aa1
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue