From 78562c89098bd8a1211690bfb290262437f75c09 Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 19 Nov 2014 17:06:53 +0100 Subject: the zip utility cannot be used to read zip files Based on FR commit: 617b77366cdb295dc6b33207dd9b23613f490b23 From: Paolo Bacchilega --- src/fr-command-zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fr-command-zip.c b/src/fr-command-zip.c index 799c161..014cf05 100644 --- a/src/fr-command-zip.c +++ b/src/fr-command-zip.c @@ -406,7 +406,7 @@ fr_command_zip_get_capabilities (FrCommand *comm, if (strcmp (mime_type, "application/x-ms-dos-executable") == 0) capabilities |= FR_COMMAND_CAN_READ; else - capabilities |= FR_COMMAND_CAN_READ_WRITE; + capabilities |= FR_COMMAND_CAN_WRITE; } else if (is_program_available ("unzip", check_command)) capabilities |= FR_COMMAND_CAN_READ; -- cgit v1.2.1