summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsponomarev <[email protected]>2018-10-30 13:25:52 +0200
committerraveit65 <[email protected]>2018-12-28 10:08:05 +0100
commitafb8ebd2570be12680b1068f1d58f347b44a3d0c (patch)
treef34d231efa0a5781321f66e4a963aacd3ec9c3d8
parentab9e18f7411862f89e23d8aa451b26a4df9a3a72 (diff)
downloadengrampa-afb8ebd2570be12680b1068f1d58f347b44a3d0c.tar.bz2
engrampa-afb8ebd2570be12680b1068f1d58f347b44a3d0c.tar.xz
Added test integrity for brotli
-rw-r--r--src/fr-command-cfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fr-command-cfile.c b/src/fr-command-cfile.c
index 429c156..ed6115e 100644
--- a/src/fr-command-cfile.c
+++ b/src/fr-command-cfile.c
@@ -476,6 +476,9 @@ fr_command_cfile_test (FrCommand *comm)
if (is_mime_type (comm->mime_type, "application/x-gzip")) {
compress_cmd = "gzip";
}
+ else if (is_mime_type (comm->mime_type, "application/x-brotli")) {
+ compress_cmd = "brotli";
+ }
else if (is_mime_type (comm->mime_type, "application/x-bzip")) {
compress_cmd = "bzip2";
}