1 2 3 4 5 6 7 8
#!/bin/sh set -euf if which truth2json;then truth2json >/dev/null && echo "db verified" else echo "cannot verify as truth2json is not installed" fi