diff options
author | Patrick 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) |
commit | a922945b0ac1e929849eaf02abab66bde6fa6b59 (patch) | |
tree | 4f827b46d0858adaf13f79c635d632b840fda96e | |
parent | c25919c0ee9be94f5a5edbbd0cecf9a1b028d30b (diff) |
opkg-cert: Accept gunzip path from environment
-rwxr-xr-x | opkg-cert | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |