Re: Configuration by using local packages
"Bernhard R. Link" <email@example.com> writes:
> * W. Borgert <firstname.lastname@example.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).
> Bernhard R. Link
But if you update the local package it silently overwrites changes.
Using ucf seems better but its still a dirty hack.