summaryrefslogtreecommitdiff
path: root/src/fr-init.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-15 22:35:42 +0200
committerlukefromdc <[email protected]>2019-10-03 03:31:21 +0000
commit83b63b99caeea75d5ed06ea3b055aa0a6ff4c004 (patch)
treeedd0519b7e1b06d912dca1e6339406026c6001f6 /src/fr-init.c
parentf6a3980e1a2d1024a4c3d7b09ac1e167ffb7980a (diff)
downloadengrampa-83b63b99caeea75d5ed06ea3b055aa0a6ff4c004.tar.bz2
engrampa-83b63b99caeea75d5ed06ea3b055aa0a6ff4c004.tar.xz
Zstandard: Update MIME type
MIME type is application/x-zstd: $ lorem-ipsum-generator -p 10000 -l -f plain > lorem.txt $ zstd lorem.txt $ file -b --mime-type lorem.txt.zst application/x-zstd Test: $ CFLAGS="-g -O0" ./autogen.sh --enable-magic --enable-packagekit --prefix=/usr && make && sudo make install
Diffstat (limited to 'src/fr-init.c')
-rw-r--r--src/fr-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fr-init.c b/src/fr-init.c
index 33bdf53..34b1611 100644
--- a/src/fr-init.c
+++ b/src/fr-init.c
@@ -110,8 +110,8 @@ FrMimeTypeDescription mime_type_desc[] = {
{ "application/x-xz", ".xz", N_("Xz (.xz)"), 0 },
{ "application/x-xz-compressed-tar", ".tar.xz", N_("Tar compressed with xz (.tar.xz)"), 0 },
{ "application/x-zoo", ".zoo", N_("Zoo (.zoo)"), 0 },
+ { "application/x-zstd", ".zst", N_("Zstandard (.zst)"), 0 },
{ "application/zip", ".zip", N_("Zip (.zip)"), 0 },
- { "application/zstd", ".zst", N_("Zstandard (.zst)"), 0 },
{ NULL, NULL, NULL, 0 }
};
@@ -181,7 +181,7 @@ FrExtensionType file_ext_type[] = {
{ ".Z", "application/x-compress" },
{ ".zip", "application/zip" },
{ ".zoo", "application/x-zoo" },
- { ".zst", "application/zstd" },
+ { ".zst", "application/x-zstd" },
{ NULL, NULL }
};