aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-proxy-setup-ca.in
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 /src/gns/gnunet-gns-proxy-setup-ca.in
parent51e989e7d85e7d72977e93f78819a6a84b5dba4e (diff)
downloadgnunet-9de61a9ea36dbbe2d61f2fbf88c8644146a37846.tar.gz
gnunet-9de61a9ea36dbbe2d61f2fbf88c8644146a37846.zip
check for certutil with 'command -v'
Diffstat (limited to 'src/gns/gnunet-gns-proxy-setup-ca.in')
-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()
181 181
182importbrowsers() 182importbrowsers()
183{ 183{
184 # Don't check with -H, -H defies any method to not 184 if test -z "`command -v certutil`" > /dev/null 2>&1
185 # print the output on screen! Let's hope that every
186 # certutil gets build with some kind of build flags
187 # which end up being printed here:
188 if test -z "`certutil --build-flags`" > /dev/null 2>&1
189 then 185 then
190 warningmsg "The 'certutil' command was not found." 186 warningmsg "The 'certutil' command was not found."
191 warningmsg "Not importing into browsers." 187 warningmsg "Not importing into browsers."