Appending a file in %{_sysconfdir}

Rex Dieter rdieter at math.unl.edu
Fri Aug 18 23:54:11 UTC 2006


Jesse Keating wrote:
> On Friday 18 August 2006 10:14, 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.
> 
> Danger Will Robinson!  Fiddling with file content, especially config files is 
> bad juju.  What you should really do is work with the mono packager to make 
> a %{_sysconfdir}/mono/config.d/ directory that packages can drop config stubs 
> into and remove from.  We learned long ago trying to fiddle with file 
> contents is just a bad idea.

Jesse's absolutely right... his suggestion certainly is the best
(long-term) solution to this general type of problem, e.g.
/etc/ld.so.conf.d/
/etc/fonts/conf.d/
/etc/httpd/conf.d/

-- Rex




More information about the fedora-extras-list mailing list