diff options
author | Adrien Plazas <kekun.plazas@laposte.net> | 2020-09-26 14:22:09 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2020-11-06 21:50:46 +0000 |
commit | 6f51a40cda5f7a4c8172069c870cd9d2f375ee04 (patch) | |
tree | af94f22130ce8332fd83001dac2e216c4e887076 | |
parent | bcdb3604730aef3a7e5a3128ef2c1e52f94acd28 (diff) | |
download | shared-mime-info-6f51a40cda5f7a4c8172069c870cd9d2f375ee04.tar.gz |
Add application/x-compressed-iso
-rw-r--r-- | data/freedesktop.org.xml.in | 7 | ||||
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/n-plus.cso | bin | 0 -> 1024 bytes |
3 files changed, 9 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 1066987d..c264310e 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -1633,6 +1633,13 @@ command to generate the output files. <glob pattern="*.iso" weight="80"/> <glob pattern="*.iso9660"/> </mime-type> + <mime-type type="application/x-compressed-iso"> + <comment>Compressed CD image</comment> + <magic priority="50"> + <match value="CISO" type="string" offset="0"/> + </magic> + <glob pattern="*.cso"/> + </mime-type> <mime-type type="application/x-iso9660-appimage"> <comment>AppImage application bundle</comment> <sub-class-of type="application/x-executable"/> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 316145d2..bef1cf5a 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -526,6 +526,8 @@ mp4v2-video-header.mp4 video/mp4 # Disk and CD/DVD images iso-file.iso application/x-cd-image oxo bug106330.iso application/x-cd-image oxo +# N+ for PSP truncated to 1Ko +n-plus.cso application/x-compressed-iso disk.img application/x-raw-disk-image oxo disk.img.xz application/x-raw-disk-image-xz-compressed oxo disk.raw-disk-image application/x-raw-disk-image oxo diff --git a/tests/mime-detection/n-plus.cso b/tests/mime-detection/n-plus.cso Binary files differnew file mode 100644 index 00000000..5e6a5d7e --- /dev/null +++ b/tests/mime-detection/n-plus.cso |