From a0f3bc7aadbacd694c24e9e8fd0823eb5b24fae3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 21 Jan 2015 11:01:03 +0100 Subject: [PATCH] Fix path to the gitolite update hook --- roles/distgit/files/setup_git_package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/distgit/files/setup_git_package b/roles/distgit/files/setup_git_package index d474ffb05d..ec4f46a3ba 100644 --- a/roles/distgit/files/setup_git_package +++ b/roles/distgit/files/setup_git_package @@ -110,7 +110,7 @@ popd >/dev/null # Setup our update hooks mkdir -p $GITROOT/$PACKAGE.git/hooks/update-chained.d -ln -s /usr/share/gitolite/hooks/common/update \ +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