On Sun, Jan 3, 2021 at 8:45 PM Kevin Kofler via devel
<devel(a)lists.fedoraproject.org> wrote:
Robert-André Mauchin wrote:
> I have a project for which the config file (toml) has been significantly
> changed, notably renamed sections. As such some older config parameters
> won't work anymore.
Tools like sed, ed, awk etc. in %post scriptlets can do wonders.
Kevin Kofler
So can *not touching someone else's config files*. If I've gone to the
trouble of locally or manually editing a config file, I generally
don't appreciate your package manually tweaking it inside your RPM
%post scripts in an unpredictable fashion. Replace it, or don't, but
don't get cutesy with it. This is the problem with authconfig: it
overrides local tuning.