summaryrefslogtreecommitdiff
path: root/unrpyc/find-gzip.sh
blob: 2c2e51dd6e1a487d5f9f1a86858ce662e4256bd3 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
if command -v zopfli; then
  :
elif command -v gzip; then
  echo >&2 "Consider obtaining zopfli (https://github.com/Hello71/zopfli) for higher"
  echo >&2 "compression ratios (about 5% decrease in size of script.json.gz)."
else
  echo >&2 "Could not find zopfli or gzip, aborting."
  exit 1
fi