summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-02-24 09:15:20 +0200
committerVille Skyttä <ville.skytta@iki.fi>2021-02-24 09:15:20 +0200
commit82afb685a478a4051541e21f7f0b9c23c54cc787 (patch)
tree820c4bfe08e71232563f332a4cbc2c75127ffa09
parent103b3058353ee7ca2b154b2e3d26d12cd1de958d (diff)
downloadshared-mime-info-82afb685a478a4051541e21f7f0b9c23c54cc787.tar.gz
application/x-7z-compressed: add *.7z.001 glob
These are the first files of a multivolume archive.
-rw-r--r--data/freedesktop.org.xml.in1
-rw-r--r--tests/mime-detection/archive2.7z.001bin0 -> 572 bytes
-rw-r--r--tests/mime-detection/list1
3 files changed, 2 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 781cd08e..079c1319 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -1387,6 +1387,7 @@ command to generate the output files.
<match type="string" value="7z\274\257\047\034" offset="0"/>
</magic>
<glob pattern="*.7z"/>
+ <glob pattern="*.7z.001"/>
</mime-type>
<mime-type type="application/x-abiword">
<comment>AbiWord document</comment>
diff --git a/tests/mime-detection/archive2.7z.001 b/tests/mime-detection/archive2.7z.001
new file mode 100644
index 00000000..f5326494
--- /dev/null
+++ b/tests/mime-detection/archive2.7z.001
Binary files differ
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index cb5576e7..94a4ad8a 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -442,6 +442,7 @@ hello.pack application/x-java-pack200
test.msi application/x-msi ox
# Created using 7z
archive.7z application/x-7z-compressed
+archive2.7z.001 application/x-7z-compressed
comics.cb7 application/x-cb7 ox
# Created using tar
archive.tar application/x-tar