gns/gnunet-gns-proxy-setup-ca: check for openssl in /home/user/.guix-profile/bin...
authorNils Gillmann <ng0@n0.is>
Sat, 5 May 2018 12:23:41 +0000 (12:23 +0000)
committerNils Gillmann <ng0@n0.is>
Sat, 5 May 2018 12:23:41 +0000 (12:23 +0000)
Signed-off-by: Nils Gillmann <ng0@n0.is>
src/gns/gnunet-gns-proxy-setup-ca

index 72d478a50ed71a9c8bc781352c31ae93097aaf51..52f4b012bc38a387a4af60af046958d040d7afc3 100644 (file)
@@ -2,12 +2,22 @@
 # This shell script will generate an X509 certificate for your gnunet-gns-proxy
 # and install it (for both GNUnet and your browser).
 #
+
+# TODO: We should sed the real paths to the binaries involved here.
+
 if ! which certutil > /dev/null
 then
   echo "'certutil' command not found. Please install it."
   exit 1
 fi
 
+if ! which openssl > /dev/null
+then
+    echo "'openssl' command not found. Please install it."
+    exit 1
+fi
+
+
 echo "Generating CA"
 options=''
 while getopts "c:" opt; do