Le mardi 20 mai 2008 à 12:05 +0100, martin f krafft a écrit :
>   if [ "$1" = configure -a -x /usr/bin/fc-cache ]

Note -that the "$1" = configure check is wrong, see #446856.

>     (echo "failed; see /var/log/fontconfig.log for more information."; \
>     exit 1)

> This is wrong. Using ()'s creates a subshell, and exit then only
> exits the subshell, not the postinst (which I believe it's supposed
> to do). 

Since the postinst uses set -e, it will also exit it.

> But instead of having everyone fix this, I wonder
> why debhelper isn't taking care of this. Thoughts?

This is not needed anymore. Fontconfig should manage this through a
trigger, removing entirely those snippets.

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to