#!/bin/sh [ -d ".git/hooks" ] || mkdir .git/hooks ln tools/repo/check.sh .git/hooks/pre-commit