From 875eeaf275e8a4bb8a9ed954365f35328d5b5d63 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Thu, 23 Dec 1999 16:33:09 +0000 Subject: Find (un)zip in /usr/local instead of /usr/bin. PR: 15250 Submitted by: Alexander N. Kabaev --- misc/mc/files/patch-ai | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 misc/mc/files/patch-ai (limited to 'misc/mc/files/patch-ai') diff --git a/misc/mc/files/patch-ai b/misc/mc/files/patch-ai new file mode 100644 index 000000000000..9ab65e350498 --- /dev/null +++ b/misc/mc/files/patch-ai @@ -0,0 +1,20 @@ +--- vfs/extfs/uzip.in Wed Sep 29 16:39:35 1999 ++++ vfs/extfs/uzip.in.new Fri Dec 3 22:17:45 1999 +@@ -7,7 +7,7 @@ + # + # + +-DZIP=/usr/bin ++DZIP=/usr/local/bin + XZIP="$DZIP/zip -g" + XDZIP="$DZIP/zip -d" + XUNZIP="$DZIP/unzip" +@@ -67,7 +67,7 @@ + if ($8 ~ /\/$/) + printf "drwxr-xr-x 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, $8 + else +- printf "-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, substr($0, index($0, $7) + length($7 " ") ++ printf "-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, substr($0, index($0, $7) + length($7 " ")) + }' 2>/dev/null + fi + } -- cgit v1.2.3