projects
/
invirt/packages/invirt-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d2b37
)
Actually create a git user.
author
Evan Broder
<broder@mit.edu>
Sat, 5 Dec 2009 21:12:49 +0000
(16:12 -0500)
committer
Evan Broder
<broder@mit.edu>
Sat, 5 Dec 2009 21:12:49 +0000
(16:12 -0500)
svn path=/trunk/packages/invirt-dev/; revision=2580
debian/invirt-dev.postinst
patch
|
blob
|
history
diff --git
a/debian/invirt-dev.postinst
b/debian/invirt-dev.postinst
index
b873ea2
..
3574e88
100755
(executable)
--- a/
debian/invirt-dev.postinst
+++ b/
debian/invirt-dev.postinst
@@
-11,6
+11,10
@@
case "$1" in
if ! getent group repo >/dev/null 2>&1; then
addgroup --system repo
fi
+
+ if ! getent passwd git >/dev/null 2>&1; then
+ adduser --system --home /srv/git --shell /usr/bin/git-shell git
+ fi
cat >>/etc/sudoers <<EOF
### BEGIN invirt-dev