diff options
Diffstat (limited to 'share/templater/pushtodeploy/setup')
-rwxr-xr-x | share/templater/pushtodeploy/setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/templater/pushtodeploy/setup b/share/templater/pushtodeploy/setup index 78e216f..b7c3c67 100755 --- a/share/templater/pushtodeploy/setup +++ b/share/templater/pushtodeploy/setup @@ -20,7 +20,7 @@ function templater_pushtodeploy { if [ -e "Makefile" ]; then if ! grep -q "^post_receive:" Makefile; then echo "post_receive:" >> Makefile - echo -e "\tcd .git/hooks && ln -sf ../../bin/post-receive" >> Makefile + echo -e "\ttest -s bin/post-receive && cd .git/hooks && ln -sf ../../bin/post-receive" >> Makefile fi fi else |