aboutsummaryrefslogtreecommitdiffstats
path: root/main/gitolite/gitolite.pre-install
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-06-16 14:49:21 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-06-16 14:51:32 +0200
commit20b31ac3b171ef836dd217548580240c19d9108b (patch)
tree7c892d4a01771ac961db954262c3bf4e9c4d9e22 /main/gitolite/gitolite.pre-install
parent6bce6004adc47c4b997cccd84c17dafbdd3d2072 (diff)
downloadaports-20b31ac3b171ef836dd217548580240c19d9108b.tar.bz2
aports-20b31ac3b171ef836dd217548580240c19d9108b.tar.xz
main/gitolite: create git user
Diffstat (limited to 'main/gitolite/gitolite.pre-install')
-rw-r--r--main/gitolite/gitolite.pre-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/gitolite/gitolite.pre-install b/main/gitolite/gitolite.pre-install
new file mode 100644
index 0000000000..be623d2ab9
--- /dev/null
+++ b/main/gitolite/gitolite.pre-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+adduser -H -h /var/git -s /bin/sh -D git 2>/dev/null
+exit 0