From d27c9b076302ac205d22c291cb0380289e4f95eb Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Sat, 5 May 2018 12:23:41 +0000 Subject: gns/gnunet-gns-proxy-setup-ca: check for openssl in /home/user/.guix-profile/bin:/home/user/.guix-profile/sbin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin Signed-off-by: Nils Gillmann --- src/gns/gnunet-gns-proxy-setup-ca | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/gns') diff --git a/src/gns/gnunet-gns-proxy-setup-ca b/src/gns/gnunet-gns-proxy-setup-ca index 72d478a50..52f4b012b 100644 --- a/src/gns/gnunet-gns-proxy-setup-ca +++ b/src/gns/gnunet-gns-proxy-setup-ca @@ -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 -- cgit v1.2.3