mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
rpm: preserve existing configs on package upgrade
This commit is contained in:
parent
8bce0fa9cb
commit
40c9d44a66
@ -210,6 +210,7 @@ function make_rpm {
|
|||||||
| grep -vF '%dir "/etc/cron.d/"' \
|
| grep -vF '%dir "/etc/cron.d/"' \
|
||||||
| grep -vF '%dir "/etc/systemd/system/"' \
|
| grep -vF '%dir "/etc/systemd/system/"' \
|
||||||
| grep -vF '%dir "/etc/systemd/"' \
|
| grep -vF '%dir "/etc/systemd/"' \
|
||||||
|
| sed -e 's|%config |%config(noreplace) |' \
|
||||||
> ${PACKAGE}-$VERSION_FULL-2.spec
|
> ${PACKAGE}-$VERSION_FULL-2.spec
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user