]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
distro/pkg/rpm: use noreplace for config.yaml
authorOto Šťáva <oto.stava@nic.cz>
Tue, 2 Apr 2024 09:29:29 +0000 (11:29 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Tue, 2 Apr 2024 10:34:17 +0000 (12:34 +0200)
commita7b1581623900b8c342e1ba08a683592878c3f8c
tree9492d67cd5b647431482945a9956a6218accc12a
parente7b0bdcfe341a539712780c54bb8012bff723e35
distro/pkg/rpm: use noreplace for config.yaml

Adds `%config(noreplace)` to `config.yaml`. This prevents the package
from overwriting the user's edited configuration upon update, and
instead adds the new default configuration as a `.rpmnew` file for the
user to potentially consider.
distro/pkg/rpm/knot-resolver.spec