summaryrefslogtreecommitdiff
path: root/unrpyc/find-gzip.sh
blob: de6d19e64c9845a69f051feaf12b2affffec9967 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
if command -v zopfli; then
  :
elif command -v 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)."
else
  echo >&2 "Could not find zopfli or gzip, aborting."
  exit 1
fi