Add application/rtf with same settings as text/rtf. application/rtf is actually the official type

This commit is contained in:
Jean-Francois Dockes 2022-03-14 18:09:40 +01:00
parent 8dacf0769a
commit adde2e5d4e
3 changed files with 4 additions and 2 deletions

View File

@ -209,6 +209,7 @@ text/html = internal
text/plain = internal
text/plain1 = internal
text/rtf = exec unrtf --nopict --html;mimetype=text/html
application/rtf = exec unrtf --nopict --html;mimetype=text/html
text/x-bibtex = exec rclbibtex.sh ; mimetype = text/plain
text/x-c = internal
text/x-c+ = internal
@ -346,6 +347,7 @@ text/html|epub = bookchap
text/html|gnuinfo = bookchap
text/plain = txt
text/rtf = wordprocessing
application/rtf = wordprocessing
text/x-bibtex = txt
text/x-c = source
text/x-c+ = source
@ -432,6 +434,7 @@ text = \
text/html \
text/plain \
text/rtf \
application/rtf \
text/x-bibtex \
text/x-c \
text/x-c++ \

View File

@ -194,8 +194,6 @@
.wpd = application/vnd.wordperfect
.rtf = text/rtf
# Note: file -i says audio/x-midi, but soft karaoke files are special.
.aac = audio/aac
.ape = audio/ape

View File

@ -99,6 +99,7 @@ application/vnd.sun.xml.writer.global = libreoffice %f
application/vnd.sun.xml.writer.template = libreoffice %f
application/vnd.wordperfect = libreoffice %f
text/rtf = libreoffice %f
application/rtf = libreoffice %f
application/x-dia-diagram = dia %f