let verify script not fail when openssl not installed
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 22 May 2008 17:37:51 +0000 (19:37 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Thu, 22 May 2008 17:37:51 +0000 (19:37 +0200)
scripts/verify.sh

index b6c9887..985ac6c 100755 (executable)
@@ -2,6 +2,13 @@
 
 set -e
 
+echo -n 'Verifying database signature: '
+
+if ! which openssl >/dev/null ; then
+       echo "OpenSSL not installed, cannot verify"
+       exit 0
+fi
+
 DBFILE=regulatory.bin
 
 flen=$(stat -c '%s' regulatory.bin)