system/gitolite: Fix helper script.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
parent
d9976ab816
commit
23e76abd74
|
@ -5,5 +5,5 @@ GL_USER=@GL_USER@
|
||||||
if [ "$(whoami)" == "$GL_USER" ]; then
|
if [ "$(whoami)" == "$GL_USER" ]; then
|
||||||
/usr/libexec/gitolite/gitolite ${@}
|
/usr/libexec/gitolite/gitolite ${@}
|
||||||
else
|
else
|
||||||
su -c "/usr/libexec/gitolite/gitolite ${@}" $GL_USER
|
sudo -u $GL_USER -- "$0" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=gitolite
|
PRGNAM=gitolite
|
||||||
VERSION=${VERSION:-3.6.2}
|
VERSION=${VERSION:-3.6.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue