1
0
Fork 0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-20 10:36:32 +00:00
phpbb/git-tools/hooks/uninstall
2010-07-12 02:04:29 +01:00

16 lines
257 B
Bash
Executable file

#!/bin/sh
#
# Script to uninstall the git hooks
#
# Usage (from within git-tools/hooks):
# ./uninstall
dir=$(dirname $0)
for file in $(ls $dir)
do
if [ $file != "install" ] && [ $file != "uninstall" ]
then
rm -f "$dir/../../.git/hooks/$file"
fi
done