Commit a88cf3df authored by Gregor Michalicek's avatar Gregor Michalicek

Merge branch 'develop' of ifflinux:fleur into develop

parents bfb892fa 93eb7e6a
......@@ -33,6 +33,14 @@ fi
#Check if we are using the git version and update if pull was used as an argument
if test -d $DIR/.git
#Check if hook is installed and install it if needed
if test -h $DIR/.git/hooks/pre-commit
then
echo "Git version found"
else
ln -s $DIR/tests/git-hooks/pre-commit $DIR/.git/hooks
echo "Git version found, hook installed"
fi
then
if [[ $1 =~ .*pull.* ]] || [[ $2 =~ .*pull.* ]] || [[ $3 =~ .*pull.* ]]
then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment