Appending a file in %{_sysconfdir}

Paul Nasrat pnasrat at redhat.com
Fri Aug 18 21:03:29 UTC 2006


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




More information about the fedora-extras-list mailing list