diff options
author | Mario Preksavec | 2015-02-11 18:17:10 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2015-02-11 18:17:10 +0100 |
commit | ffaf60b234e0568f46b09cd8acf79eed7368a58e (patch) | |
tree | 488caa85cd3082eef59b01c2ddef34f6a792940a /system/gitolite/gitolite | |
parent | 7ded051ce66a78257002d9ea15aabd3b6fff9129 (diff) | |
download | old.slackbuilds-ffaf60b234e0568f46b09cd8acf79eed7368a58e.tar.gz |
system/gitolite: Added (Hosting git repositories).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/gitolite/gitolite')
-rw-r--r-- | system/gitolite/gitolite | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/system/gitolite/gitolite b/system/gitolite/gitolite new file mode 100644 index 0000000000..af1c0bb5ab --- /dev/null +++ b/system/gitolite/gitolite @@ -0,0 +1,9 @@ +#!/bin/bash + +GL_USER=@GL_USER@ + +if [ "$(whoami)" == "$GL_USER" ]; then + /usr/libexec/gitolite/gitolite ${@} +else + su -c "/usr/libexec/gitolite/gitolite ${@}" $GL_USER +fi |