[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 18:03 +0100, Paul wrote:
> Hi,
> 
> > > 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.
> 
> It must be because it's Friday, but what is
> rhpl.simpleconfig.SimpleConfig?

A python module

ipython
import rhpl.simpleconfig
myconf = rhpl.simpleconfig.SimpleConfig()
myconf.read("/etc/sysconfig/i18n")

Paul


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