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

Re: Configuration by using local packages

"Bernhard R. Link" <blink@informatik.uni-freiburg.de> writes:

> * W. Borgert <debacle@debian.org> [040425 16:29]:
>> 3. Create local (empty) package overwriting existing config files
>>    by using cp in postinst.
>>    => relatively BAD - If new important sections or keywords appear
>>       in the config files, they are just over-written.
> Well, isn't that the point of having your own config files around?
> If dpkg updates a package in a way it would have a new config file,
> it will just warn you as if you changed the file manually. Thus
> you can see if you want to change the config you ship. (If there
> is anything bad at it, then that one will get this questions on every
> host one upgrades).
> Hochachtungsvoll,
>   Bernhard R. Link

But if you update the local package it silently overwrites changes.

Using ucf seems better but its still a dirty hack.


Reply to: