From f17e63879c9356d107bda7f8d599f7ce5f449051 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Mon, 9 Nov 2009 18:19:48 -0800 Subject: [PATCH] allow use of unzip version 6.0 Unzip 6.0 changes the name of the fourth column in the "unzip -lv" output from "Ratio" to "Cmpr". Allow either name so that dump-package-stats works with both unzip 5 and unzip 6. --- tools/dump-package-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dump-package-stats b/tools/dump-package-stats index 589bab58f..d11e72746 100755 --- a/tools/dump-package-stats +++ b/tools/dump-package-stats @@ -102,7 +102,7 @@ do $1 != "Length" || $2 != "Method" || $3 != "Size" || - $4 != "Ratio" || + ($4 != "Ratio" && $4 != "Cmpr") || $5 != "Date" || $6 != "Time" || $7 != "CRC-32" || -- 2.11.0