Re: Appending a file in %{_sysconfdir}

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

 



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

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux