I spoke too soon, that's exactly how it is done in Lucid's shared mime
info:

  <mime-type type="image/jpeg">
    <_comment>JPEG image</_comment>
    <magic priority="50">
      <match type="string" value="\377\330\377" offset="0"/>
      <match type="big16" value="0xffd8" offset="0"/>
    </magic>
    <glob pattern="*.jpeg"/>
    <glob pattern="*.jpg"/>
    <glob pattern="*.jpe"/>
    <alias type="image/pjpeg"/>
  </mime-type>

** Changed in: mime-support (Ubuntu)
       Status: New => Fix Released

-- 
image/pjpeg missing
https://bugs.launchpad.net/bugs/503849
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to