aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-18 20:52:15 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-18 20:52:15 +0200
commit59758b41218ac9d410b8aaa68fdc8a07dfb1b4bd (patch)
treecc847cb057b481085710c65fabced5b626ae01c6
parent701cdf848762105a0cbdea924446b122b50fabea (diff)
downloadlbsd-59758b41218ac9d410b8aaa68fdc8a07dfb1b4bd.tar.gz
Temporarily fix MIME bug
I think the bug is in ROX. Files named "Makefile" are not sucessfully matched against the glob "makefile", which they should be, unless the glob has "case-sensitive=true", which it hasn't. This patch makes ROX recognize "Makefile" files as text/x-makefile.
-rw-r--r--usr/pkg/share/mime/packages/freedesktop.org.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/pkg/share/mime/packages/freedesktop.org.xml b/usr/pkg/share/mime/packages/freedesktop.org.xml
index 253c4c1..5b69136 100644
--- a/usr/pkg/share/mime/packages/freedesktop.org.xml
+++ b/usr/pkg/share/mime/packages/freedesktop.org.xml
@@ -35007,6 +35007,8 @@
<comment xml:lang="zh_TW">Makefile</comment>
<sub-class-of type="text/plain"/>
<glob pattern="makefile"/>
+ <glob pattern="Makefile" case-sensitive="true"/>
+ <glob pattern="GNUmakefile" case-sensitive="true"/>
<glob pattern="*.mk"/>
<glob pattern="*.mak"/>
<glob weight="10" pattern="Makefile.*"/>