Mark config file as noreplace for rpm

This commit is contained in:
Fei1Yang
2025-04-08 14:20:31 +08:00
committed by 世界
parent 9668ea69b8
commit 5adaf1ac75
3 changed files with 3 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ nfpms:
contents:
- src: release/config/config.json
dst: /etc/sing-box/config.json
type: config
type: "config|noreplace"
- src: release/config/sing-box.service
dst: /usr/lib/systemd/system/sing-box.service