summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-05-12 22:24:21 +0300
committerDavid Faure <faure@kde.org>2021-05-13 21:18:34 +0000
commita5e9cf369e7700ff30a65a1caee65e04fa066b52 (patch)
tree317e106abff527a92b58522d154a0e0282b1b6c3
parent98f200fb7e85a5c7e27e9a997c7a2096573e6c09 (diff)
downloadshared-mime-info-a5e9cf369e7700ff30a65a1caee65e04fa066b52.tar.gz
application/x-troff-man: add *.[1-9] glob
-rw-r--r--data/freedesktop.org.xml.in1
-rw-r--r--tests/mime-detection/list1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 49c9379e..a7f71da9 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -3957,6 +3957,7 @@ command to generate the output files.
<sub-class-of type="text/plain"/>
<generic-icon name="text-x-generic"/>
<glob pattern="*.man"/>
+ <glob pattern="*.[1-9]"/>
</mime-type>
<mime-type type="application/x-troff-man-compressed">
<comment>manual page (compressed)</comment>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 9371ec12..56333999 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -200,6 +200,7 @@ appleworks.cwk application/x-appleworks-document oxo
# test.oxps and test.xps "printed" with Windows 10 Microsoft XPS Document Writer
test.oxps application/oxps ox
test.xps application/vnd.ms-xpsdocument ox
+../../data/update-mime-database.1 application/x-troff-man ox
# Playlist, subtitle and audio formats
stream.nsc application/x-netshow-channel