summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2019-06-26 17:25:50 +0200
committert3sserakt <t3ss@posteo.de>2019-06-26 17:25:50 +0200
commit9de61a9ea36dbbe2d61f2fbf88c8644146a37846 (patch)
tree309a83ad1b154bd28cf90b69de08ce81351dab13
parent51e989e7d85e7d72977e93f78819a6a84b5dba4e (diff)
check for certutil with 'command -v'
-rw-r--r--src/gns/gnunet-gns-proxy-setup-ca.in6
1 files changed, 1 insertions, 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."