summaryrefslogtreecommitdiff
path: root/src/fr-init.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-15 13:34:58 +0200
committerraveit65 <[email protected]>2019-09-22 02:46:16 +0200
commit09d1ff998680161a3264c06c1ee7f846911cd963 (patch)
tree99f88f8e1878e519c2ec793a2a73146ce4bbc3c7 /src/fr-init.c
parente5d2b428b86f3a09bbd035332698123971545d99 (diff)
downloadengrampa-09d1ff998680161a3264c06c1ee7f846911cd963.tar.bz2
engrampa-09d1ff998680161a3264c06c1ee7f846911cd963.tar.xz
LHA: Fix internet media type
LHA media type is application/x-lzh-compressed $ file --mime-type ~/test.lzh /home/robert/test.lzh: application/x-lzh-compressed
Diffstat (limited to 'src/fr-init.c')
-rw-r--r--src/fr-init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fr-init.c b/src/fr-init.c
index 3c6ce24..8c06372 100644
--- a/src/fr-init.c
+++ b/src/fr-init.c
@@ -89,7 +89,7 @@ FrMimeTypeDescription mime_type_desc[] = {
{ "application/x-ear", ".ear", N_("Ear (.ear)"), 0 },
{ "application/x-gzip", ".gz", N_("GZip compressed file (.gz)"), 0 },
{ "application/x-java-archive", ".jar", N_("Jar (.jar)"), 0 },
- { "application/x-lha", ".lzh", N_("Lha (.lzh)"), 0 },
+ { "application/x-lzh-compressed", ".lzh", N_("Lha (.lzh)"), 0 },
{ "application/x-lrzip", ".lrz", N_("Lrzip (.lrz)"), 0},
{ "application/x-lrzip-compressed-tar", ".tar.lrz", N_("Tar compressed with lrzip (.tar.lrz)"), 0 },
{ "application/x-lzip", ".lz", N_("LZip compressed file (.lz)"), 0 },
@@ -136,9 +136,9 @@ FrExtensionType file_ext_type[] = {
{ ".gz", "application/x-gzip" },
{ ".iso", "application/x-cd-image" },
{ ".jar", "application/x-java-archive" },
- { ".lha", "application/x-lha" },
+ { ".lha", "application/x-lzh-compressed" },
{ ".lrz", "application/x-lrzip" },
- { ".lzh", "application/x-lha" },
+ { ".lzh", "application/x-lzh-compressed" },
{ ".lz", "application/x-lzip" },
{ ".lzma", "application/x-lzma" },
{ ".lzo", "application/x-lzop" },