From 815e4760c00be51bc41a16ef68ce62298723b59d Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 29 Sep 2019 15:51:02 +0200 Subject: LHA: make compatible with content-type response from gio file query gio returns "application/x-lha" in get_mime_type_from_content test: $ LANG=C gio info 1.lzh | grep content-type standard::content-type: application/x-lha standard::fast-content-type: application/x-lha --- src/fr-command-lha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fr-command-lha.c b/src/fr-command-lha.c index 69f2d90..b34f886 100644 --- a/src/fr-command-lha.c +++ b/src/fr-command-lha.c @@ -309,7 +309,7 @@ fr_command_lha_extract (FrCommand *comm, } -const char *lha_mime_type[] = { "application/x-lzh-compressed", NULL }; +const char *lha_mime_type[] = { "application/x-lzh-compressed", "application/x-lha", NULL }; static const char ** -- cgit v1.2.1