summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 11:38:46 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 11:38:46 (EDT)
commita922945b0ac1e929849eaf02abab66bde6fa6b59 (patch)
tree4f827b46d0858adaf13f79c635d632b840fda96e
parentc25919c0ee9be94f5a5edbbd0cecf9a1b028d30b (diff)
opkg-cert: Accept gunzip path from environment
-rwxr-xr-xopkg-cert4
1 files changed, 2 insertions, 2 deletions
diff --git a/opkg-cert b/opkg-cert
index 6ed3304..82238aa 100755
--- a/opkg-cert
+++ b/opkg-cert
@@ -287,8 +287,8 @@ verify()
printf '%d\n' $(time) 1>"${ROOT}/var/cache/opkg/last-cert-check"
fi
- if { gunzip -c -- "${msg}" || cat "${msg}"; } 2>/dev/null | \
- "${USIGN:-usign}" -V -q -m - \
+ if { "${GUNZIP:-gunzip}" -c -- "${msg}" || cat "${msg}"; } \
+ 2>/dev/null | "${USIGN:-usign}" -V -q -m - \
-P "${ROOT}/etc/opkg/keys/" -x "${sig}"; then
return 0
else