summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-09-01 12:28:19 +0200
committerBastien Nocera <hadess@hadess.net>2015-09-01 12:28:19 +0200
commitcf0d8b055e4db1d8b77750a6efd3b3045b5ae3c3 (patch)
treeaa16fa6083aa931a5820ab64ae5ff24ee4102d78
parent24cf33b121aeff4c5a9104b43589a050e8e92e6e (diff)
downloadshared-mime-info-cf0d8b055e4db1d8b77750a6efd3b3045b5ae3c3.tar.gz
Add weight to the Doom WAD glob
So that they are preferred to WiiWADs by default, and update tests to match.
-rw-r--r--freedesktop.org.xml.in2
-rw-r--r--tests/list6
2 files changed, 4 insertions, 4 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index b77cc5a1..bf9050c5 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -6450,7 +6450,7 @@ command to generate the output files.
<match type="string" value="IWAD" offset="0"/>
<match type="string" value="PWAD" offset="0"/>
</magic>
- <glob pattern="*.wad"/>
+ <glob pattern="*.wad" weight="80"/>
</mime-type>
<mime-type type="application/x-amiga-disk-format">
diff --git a/tests/list b/tests/list
index add9c089..b2e16356 100644
--- a/tests/list
+++ b/tests/list
@@ -444,13 +444,13 @@ m64p_test_rom.n64 application/x-n64-rom
m64p_test_rom.v64 application/x-n64-rom
m64p_test_rom.z64 application/x-n64-rom
# Castlevania: The Adventure Rebirth truncated to 1Ko
-wii.wad application/x-wii-wad
+wii.wad application/x-wii-wad x
# Video game packages
# DOOM1.WAD trucated to 1Ko
-IWAD.WAD application/x-doom-wad x
+IWAD.WAD application/x-doom-wad
# ICARUS.WAD trucated to 1Ko
-PWAD.WAD application/x-doom-wad x
+PWAD.WAD application/x-doom-wad
# other
text.pdf application/pdf