found 594915 3.52-1 thanks Le Sun, Feb 12, 2012 at 09:12:32PM +0000, Debian Bug Tracking System a écrit : > Changes: > mime-support (3.52-1) unstable; urgency=low > . > * removed application/x-httpd-* types (closes: 589384) > * added numerous new mime.types (closes: 652560, 624697, 627997, 619475, > 639822) > * fixed some bad mime.types (closes: 605250, 620372, 613810) > * added dpkg trigger support (closes: 594915) > * obsolete bugs (closes: 560118, 605254, 639580, 646462, 658073)
Dear Brian, here is a patch that replaces in update-mime(8) the recommendation to call it in postinst by an explanation why it is not necessary anymore. I am not a native speaker, so this patch may need language improvements. Have a nice day, -- Charles Plessy Tsurumi, Kanagawa, Japan
diff -ru mime-support-3.52/update-mime.man mime-support-3.52+manupdate//update-mime.man --- mime-support-3.52/update-mime.man 2010-09-04 04:30:08.000000000 +0900 +++ mime-support-3.52+manupdate//update-mime.man 2012-03-01 22:36:07.330137849 +0900 @@ -2,7 +2,7 @@ .\" Update-mime and this manpage were written by Brian White and .\" have been placed in the public domain (the only true "free"). .\" -.TH UPDATE-MIME 8 "3rd Sep 2010" "Debian Project" "Update MIME Programs" +.TH UPDATE-MIME 8 "12th Feb 2012" "Debian Project" "Update MIME Programs" .SH NAME update\-mime \- create or update MIME information .SH SYNOPSIS @@ -173,22 +173,15 @@ Packages that wish to provide MIME access to themselves should .B not depend on, recommend, or suggest -.B mime-support. -Instead, they should just put something like the following in the -.I postinst -and -.I postrm -scripts. - -.ft CW -.nf -.ne 4 -\& if [ -x /usr/sbin/update-mime ]; then -\& update-mime -\& fi -.ft R +.B mime-support, +as the the file they create in +.I /usr/lib/mime/packages +will cause +.B update\-mime +to be automatically run via a Dpkg trigger. + .SH "SEE ALSO" -.BR mailcap.order "(5), RFC-2046, RFC-1524" +.BR mailcap.order "(5), "deb-triggers "(1), RFC-2046, RFC-1524 .SH AUTHOR .B update\-mime was written by Brian White <bcwh...@pobox.com>