summaryrefslogtreecommitdiffstats
path: root/assets/hooks/pre-commit
blob: 6ad1ca2aacc1447c5e7e91c47a2c22a2505a7c9b (plain)
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