[Rpm-maint] [rpm-software-management/rpm] [RFE] Implement something like config(neverreplace) that won't replace config file ever (Issue #2135)
Michal Domonkos
notifications at github.com
Mon Aug 1 12:29:25 UTC 2022
Basic workaround right now is along the lines of:
1) Back up the existing file in `%pre` (on upgrade)
2) Restore the backed up file in `%post`, optionally saving the newly installed one as `.rpmnew`, emulating RPM's own backup logic
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2135#issuecomment-1201137658
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2135/1201137658 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220801/65a37cf5/attachment-0001.html>
More information about the Rpm-maint
mailing list