No need to install our hook ourself anymore

This commit is contained in:
Pierre-Yves Chibon 2015-01-22 15:39:11 +01:00
parent 94578dfddd
commit 40536895b3

View file

@ -109,14 +109,14 @@ git push -q origin master
popd >/dev/null
# Setup our update hooks
mkdir -p $GITROOT/$PACKAGE.git/hooks/update-chained.d
ln -s /etc/gitolite/hooks/common/update \
$GITROOT/$PACKAGE.git/hooks/update-chained.d/update-gitolite
ln -s /usr/share/git-core/update-block-push-origin \
$GITROOT/$PACKAGE.git/hooks/update-chained.d/update-block-push-origin
#mkdir -p $GITROOT/$PACKAGE.git/hooks/update-chained.d
#ln -s /etc/gitolite/hooks/common/update \
# $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-gitolite
#ln -s /usr/share/git-core/update-block-push-origin \
# $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-block-push-origin
# This one kicks off all the others in update-chained.d
ln -s /usr/share/git-core/update-chained $GITROOT/$PACKAGE.git/hooks/update
#ln -s /usr/share/git-core/update-chained $GITROOT/$PACKAGE.git/hooks/update
# Setup our post-receive hooks
mkdir -p $GITROOT/$PACKAGE.git/hooks/post-receive-chained.d