Re: New virtual package x-image-viewer?
On Wed, Jul 08, 2009 at 09:07:54PM +0200, Jan Hauke Rahm wrote:
> egrep '^image/(png|x-portable-pixmap)\s*;\s*((\S*).*?)\s*($|;.*)' /etc/mailcap
> > A virtual package only makes sense if it will also provide a standard
> > interface that other packages will invoke.
> It doesn't have such, it just chooses one out the list provided by the
> command above (it's actually perl but anyways).
Well, a mailcap entry would qualify as such a standard interface - though
you ought to be using 'see' (or 'run-mailcap') instead of parsing the file
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/