On Sat, 05 Jul 2008, Russ Allbery wrote:
> Please check the following patch, which attempts to clarify how dpkg
> diversions should be handled.  Once I started digging into this, the cases
> looked more complex than I had expected.  I tried to add more language to
> explain the whole situation on the grounds that if I found it confusing,
> other people almost certainly also do.

Looks reasonable, seconded.

>       The postrm has to do the reverse:
>       <example>
> -  if [ remove = "$1" ]; then
> +  if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then

To be really complete we should also handle the abort-upgrade if the
old version had no diversion... but that would make it too complicated
for its purpose.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to