From 797489947df52775704e169cf029dc4d6f36c6aa Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 19 Nov 2014 17:11:36 +0100 Subject: Fixed loading of zip archives with zip/unzip Always add CAN_READ to the capabilities if unzip is present Based on FR commit: ddfbd6ebf2498d9f89196e857a5cb302546cb035 From: Paolo Bacchilega Gnome bug: http://bugzilla.gnome.org/show_bug.cgi?id=653404 --- 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 014cf05..2a5d42e 100644 --- a/src/fr-command-zip.c +++ b/src/fr-command-zip.c @@ -408,7 +408,7 @@ fr_command_zip_get_capabilities (FrCommand *comm, else capabilities |= FR_COMMAND_CAN_WRITE; } - else if (is_program_available ("unzip", check_command)) + if (is_program_available ("unzip", check_command)) capabilities |= FR_COMMAND_CAN_READ; return capabilities; -- cgit v1.2.1