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

Re: Newby packager need help during his training ;)

On Wed, Aug 20, 2008 at 03:40:41PM +0200, Laurent Guignard wrote:
> How to update configuration files stored in local users home directory
> with these contained in package and save the previous configuration
> files somewhere in the filesystem hierarchy ?

You don't do that at all.  The contents of home directories are none of
any package's business.  Only the actual program touches user
configuration, so any configuration update has to be in there.

If you really need to, because configuration is incompatible and there
is no update function in the program, write a wrapper that checks and
updates the configuration before running the actual program.

Reply to: