summaryrefslogtreecommitdiff
path: root/unrpyc/find-gzip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'unrpyc/find-gzip.sh')
-rwxr-xr-xunrpyc/find-gzip.sh4
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