From 9de61a9ea36dbbe2d61f2fbf88c8644146a37846 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Wed, 26 Jun 2019 17:25:50 +0200 Subject: check for certutil with 'command -v' --- src/gns/gnunet-gns-proxy-setup-ca.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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." -- cgit v1.2.3