On 2011-02-04 19:31 +0100, Francesco Poli wrote:
> On Thu, 03 Feb 2011 21:30:26 +0100 Sven Joachim wrote:
>
>> or maybe your patch should be applied, since renaming
>> conffiles in maintainer scripts looks rather fragile to me.
>
> This could be a more robust solution, but I have to understand how the
> transition from the old strategy to the new one can be managed (since
> someone could have an old version in the "Config-Files" state and
> install a new version, someone else could try to downgrade, and so
> forth...).
You have to keep the preinst script, possibly limiting its actions to
the case where "$2" is non-null. I think this should also be
sufficient, and you can drop the postrm handling.
Cheers,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]