From: t3sserakt Date: Wed, 26 Jun 2019 15:25:50 +0000 (+0200) Subject: check for certutil with 'command -v' X-Git-Tag: v0.11.6~83^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9de61a9ea36dbbe2d61f2fbf88c8644146a37846;p=oweals%2Fgnunet.git check for certutil with 'command -v' --- diff --git a/src/gns/gnunet-gns-proxy-setup-ca.in b/src/gns/gnunet-gns-proxy-setup-ca.in index b19b6c001..57d1a9f04 100644 --- a/src/gns/gnunet-gns-proxy-setup-ca.in +++ b/src/gns/gnunet-gns-proxy-setup-ca.in @@ -181,11 +181,7 @@ generate_ca() importbrowsers() { - # Don't check with -H, -H defies any method to not - # print the output on screen! Let's hope that every - # certutil gets build with some kind of build flags - # which end up being printed here: - if test -z "`certutil --build-flags`" > /dev/null 2>&1 + if test -z "`command -v certutil`" > /dev/null 2>&1 then warningmsg "The 'certutil' command was not found." warningmsg "Not importing into browsers."