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

Re: Appending a file in %{_sysconfdir}



On Fri, 2006-08-18 at 09:22 -0500, Rex Dieter wrote:
> PFJ wrote:
> 
> > I'm packaging sdldotnet for inclusion into extras and have hit a small
> > snag. I need to amend %{_sysconfdir}/mono/config to include some bits
> > required for sdldotnet.
> > 
> > How do I append said file inside of a spec file? Should I just create a
> > new version, add the bits, diff and apply or is there a better way?
> 
> This seems something to be done in a scriplet in %post (and to undo the mods
> in %postun)

If you want to do it programatically - rhpl.simpleconfig.SimpleConfig is
what we basically use in to set these up.

Paul


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