Le Thu, Mar 01, 2012 at 08:42:57AM -0600, Jonathan Nieder a écrit :
> 
> If my package generates its mailcap file on the fly in postinst, what command
> should it run to make sure it gets used?  Is
> 
>       dpkg-trigger --no-await --by-package=<this package> 
> /usr/lib/mime/packages
> 
> guaranteed to continue to work in the future?  Do I need to do
> 
>       dpkg-trigger --no-await --by-package=<this package> /usr/lib/mime
> 
> in case the interest pattern changes?  Or should I use the old-fashioned
> 
>       if type update-mime >/dev/null 2>&1; then
>               update-mime
>       fi

Hi Jonathan,

this look like quite a corner case: I could not find the string "mailcap" in
the maintainer pre and post-installation scripts available in the Lintian lab.

I think that in these rare cases, a direct call to update-mime in postinst
would be fine.

Are there other comments about the proposed changes ?

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


--
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