The reason fontconfig.prerm fails on lenny is the text inserted by
debhelper.  It uses language like "foo && do_something".  The use of
the '&&' operator prevents the early exit from 'set -e', but it will
still set $? to false if the conditional is false.  Since there are no
more statements in the prerm, that becomes its implicit exit status.

It looks like a debhelper bug, but I don't have the energy to figure
out what version of dh introduced or fixed it.  A straightforward
workaround is to append a line to the bottom of the prerm:

    :

That way it exits successfully no matter which direction the last '&&'
expression went.  This is tested to work on my lenny->squeeze system.

Of course, it's probably too late to think about fixing it in lenny
_now_.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to