diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-08-18 12:09:30 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-08-18 12:09:30 -0400 |
commit | ce961bb5865b5d16d203365159ab173e67e34556 (patch) | |
tree | 9140826001e6478a6b3eb8fee4d8d478a61c090b /unrpyc | |
parent | 780226fa442abda5cb5b1018e998f50e7985e908 (diff) | |
download | html5ks-ce961bb5865b5d16d203365159ab173e67e34556.tar.xz html5ks-ce961bb5865b5d16d203365159ab173e67e34556.zip |
fix nginx.* to work better with slim nginx
also print warning if zopfli is not found
Diffstat (limited to 'unrpyc')
-rwxr-xr-x | unrpyc/find-gzip.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |