1 2 3 4 5 6
#!/bin/sh # Uninstall git hook used by old toolchain case "$0" in */.git/hooks/*) rm "$0";; *) echo "Inter git hooks are no longer used" esac