From 25b2bdbcfb95c91a33fd62370cac28a863567c3f Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 18 Jan 2020 16:07:38 +0100 Subject: autoconf: get zstd mime type using libmagic if enabled --- src/fr-init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fr-init.c') diff --git a/src/fr-init.c b/src/fr-init.c index e09f463..67393f1 100644 --- a/src/fr-init.c +++ b/src/fr-init.c @@ -108,7 +108,7 @@ FrMimeTypeDescription mime_type_desc[] = { { "application/x-xz", ".xz", N_("Xz compressed file"), 0 }, { "application/x-xz-compressed-tar", ".tar.xz", N_("Tar compressed with xz"), 0 }, { "application/x-zoo", ".zoo", N_("Zoo"), 0 }, - { "application/x-zstd", ".zst", N_("Zstandard compressed file"), 0 }, + { ZSTD_MIME_TYPE, ".zst", N_("Zstandard compressed file"), 0 }, { "application/x-zstd-compressed-tar", ".tar.zst", N_("Tar compressed with zstd"), 0 }, { "application/zip", ".zip", N_("Zip"), 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/x-zstd" }, + { ".zst", ZSTD_MIME_TYPE }, { NULL, NULL } }; -- cgit v1.2.1