From ce961bb5865b5d16d203365159ab173e67e34556 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Sun, 18 Aug 2013 12:09:30 -0400 Subject: fix nginx.* to work better with slim nginx also print warning if zopfli is not found --- unrpyc/find-gzip.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'unrpyc') diff --git a/unrpyc/find-gzip.sh b/unrpyc/find-gzip.sh index 26e60c0..2ee9064 100755 --- a/unrpyc/find-gzip.sh +++ b/unrpyc/find-gzip.sh @@ -4,7 +4,11 @@ GZIP="$(command -v gzip)" if [ -n $ZOPFLI ]; then echo "$ZOPFLI" elif [ -n $GZIP ]; then + echo >&2 "Consider obtaining zopfli (https://code.google.com/p/zopfli/)" + echo >&2 "for higher compression ratios (about 5% decrease in size of" + echo >&2 "script.json.gz." echo "$GZIP -9" else + echo >&2 "Could not find zopfli or gzip, aborting." exit 1 fi -- cgit v1.2.3-70-g09d2