contrib/hooks: adapt comment about Debian install location for contrib hooks
Placing the contrib hooks into /usr/share/doc/ wasn't a good idea in the first place. According to the Debian policy they should be located in /usr/share/git-core/, so let's put them there. Thanks to Bill Allombert for reporting this through http://bugs.debian.org/640949 Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Gerrit Pape committed
Sep 26, 2011 at 12:58 UTC
f6f17885ba2f1ff6f18118a0660f8f662cdb9ffb
1 file changed
+2
-2
contrib/hooks/post-receive-email
+2
-2
@@ -11,11 +11,11 @@
11
# will have put this somewhere standard. You should make this script
12
# executable then link to it in the repository you would like to use it in.
13
# For example, on debian the hook is stored in
14
-# /usr/share/doc/git-core/contrib/hooks/post-receive-email:
14
+# /usr/share/git-core/contrib/hooks/post-receive-email:
15
#
16
# chmod a+x post-receive-email
17
# cd /path/to/your/repository.git
18
-# ln -sf /usr/share/doc/git-core/contrib/hooks/post-receive-email hooks/post-receive
18
+# ln -sf /usr/share/git-core/contrib/hooks/post-receive-email hooks/post-receive
19
#
20
# This hook script assumes it is enabled on the central repository of a
21
# project, with all users pushing only to it and not between each other. It