summaryrefslogtreecommitdiff
path: root/archivers/file-roller/patches/patch-unzip
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/file-roller/patches/patch-unzip')
-rw-r--r--archivers/file-roller/patches/patch-unzip10
1 files changed, 5 insertions, 5 deletions
diff --git a/archivers/file-roller/patches/patch-unzip b/archivers/file-roller/patches/patch-unzip
index a945c8b56ee..0bf5fc05783 100644
--- a/archivers/file-roller/patches/patch-unzip
+++ b/archivers/file-roller/patches/patch-unzip
@@ -1,6 +1,6 @@
-$NetBSD: patch-unzip,v 1.1 2009/09/19 07:46:56 ahoka Exp $
+$NetBSD: patch-unzip,v 1.2 2010/06/15 20:48:23 drochner Exp $
---- src/fr-command-zip.c.orig 2009-06-30 01:32:59.000000000 +0200
+--- src/fr-command-zip.c.orig 2010-03-11 17:44:54.000000000 +0000
+++ src/fr-command-zip.c
@@ -33,6 +33,7 @@
#include "fr-command.h"
@@ -37,12 +37,12 @@ $NetBSD: patch-unzip,v 1.1 2009/09/19 07:46:56 ahoka Exp $
fr_process_add_arg (comm->process, "-t");
add_password_arg (comm, comm->password);
fr_process_add_arg (comm->process, comm->filename);
-@@ -399,7 +400,7 @@ fr_command_zip_get_capabilities (FrComma
+@@ -400,7 +401,7 @@ fr_command_zip_get_capabilities (FrComma
else
capabilities |= FR_COMMAND_CAN_READ_WRITE;
}
-- else if (is_program_in_path ("unzip"))
-+ else if (is_program_in_path (FR_UNZIP_COMMAND))
+- else if (is_program_available ("unzip", check_command))
++ else if (is_program_available (FR_UNZIP_COMMAND, check_command))
capabilities |= FR_COMMAND_CAN_READ;
return capabilities;