[Fedora-packaging] Config Files in Home Dir

Toshio Kuratomi a.badger at gmail.com
Mon May 24 04:14:22 UTC 2010


On Sat, May 22, 2010 at 10:31:13AM -0400, Jameson wrote:
> I maintain a package that when run for the first time creates a file,
> ~/.projectM/config.inp.  The package previously needed symlinks to
> fonts because the location of the fonts was hard-coded.  I have since
> removed the symlinks, and patched the package so that config.inp will
> be created pointing to the real font files.  However, when one
> upgrades from the previous version to a new one, the config.inp file
> still points to they symlinks.  What is the appropriate way to deal
> with this?
> 
The application should detect this situation on startup and correct the
situation.

A Fedora package should not attempt to touch things in the users' home
directories at package install/remove/upgade time.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20100524/6bd82fcf/attachment.bin 


More information about the packaging mailing list