Package: mime-support Version: 3.55 Severity: normal Tags: patch Hello,
I was wondering today how I ended up with entries for evince in mailcap as it has dropped support for /usr/lib/mime/packages. I only found the solution in changelog and the bts. desktop entries are read, too. Find attached a simple patch to document this feature in update-mime(8). Thanks, cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
diff --git a/update-mime.man b/update-mime.man index e0d3cb5..5b95d90 100644 --- a/update-mime.man +++ b/update-mime.man @@ -180,6 +180,13 @@ will cause .B update\-mime to be automatically run via a Dpkg trigger. +.SH DESKTOP ENTRIES +In addition to the abovementioned mechanism +.B update\-mime +also parses desktop entries in /usr/share/applications/ to generate +mailcap entries. These entries are given a lower priority than those +in /usr/lib/mime/packages. + .SH "SEE ALSO" .BR mailcap.order "(5), "deb-triggers "(1), RFC-2046, RFC-1524 .SH AUTHOR