Re: How to handle a config(noreplace) file that needs to be updated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 3, 2021 at 8:45 PM Kevin Kofler via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> 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.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux