mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
17 lines
257 B
Plaintext
17 lines
257 B
Plaintext
|
#!/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
|