updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gitolite-git / configuration.patch
blob403dc4e261cf5d793927db231cc57234ec59d347
1 diff --git a/conf/example.gitolite.rc b/conf/example.gitolite.rc
2 index d800357..95c5a24 100644
3 --- a/conf/example.gitolite.rc
4 +++ b/conf/example.gitolite.rc
5 @@ -19,8 +19,8 @@ $GL_CONF_COMPILED="$GL_ADMINDIR/conf/gitolite.conf-compiled.pm";
6 # DO NOT CHANGE THE NEXT FOUR LINES UNLESS YOU REALLY KNOW WHAT YOU'RE DOING.
7 # These variables are set automatically by the install method you choose.
8 # (PACKAGE MAINTAINERS: PLEASE READ doc/packaging.mkd)
9 -# $GL_PACKAGE_CONF = "";
10 -# $GL_PACKAGE_HOOKS = "";
11 +$GL_PACKAGE_CONF = "/etc/gitolite";
12 +$GL_PACKAGE_HOOKS = "/usr/share/gitolite/hooks";
14 # ------------------------------------------------------------------------------
15 # most often used/changed variables
16 diff --git a/src/gl-setup b/src/gl-setup
17 index fd8357b..59de183 100755
18 --- a/src/gl-setup
19 +++ b/src/gl-setup
20 @@ -1,6 +1,6 @@
21 #!/bin/sh
23 -GL_PACKAGE_CONF=/tmp/share/gitolite/conf
24 +GL_PACKAGE_CONF=/etc/gitolite
25 # must be the same as the value for the same variable in
26 # $GL_PACKAGE_CONF/example.gitolite.rc. Sorry about the catch-22 :)