summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-19 17:06:53 +0100
committerinfirit <[email protected]>2014-11-19 19:36:03 +0100
commit78562c89098bd8a1211690bfb290262437f75c09 (patch)
treef655c8a2d7887e2f35b1d0862307d31fa4eb4a02
parente17e8a657d8ab58f5f122bb10a1fc065f6533f62 (diff)
downloadengrampa-78562c89098bd8a1211690bfb290262437f75c09.tar.bz2
engrampa-78562c89098bd8a1211690bfb290262437f75c09.tar.xz
the zip utility cannot be used to read zip files
Based on FR commit: 617b77366cdb295dc6b33207dd9b23613f490b23 From: Paolo Bacchilega <[email protected]>
-rw-r--r--src/fr-command-zip.c2
1 files changed, 1 insertions, 1 deletions
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;