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:
479b1cb
)
Create /srv/git when installing invirt-dev if it doesn't exist.
author
Evan Broder
<broder@mit.edu>
Sat, 5 Dec 2009 22:14:29 +0000
(17:14 -0500)
committer
Evan Broder
<broder@mit.edu>
Sat, 5 Dec 2009 22:14:29 +0000
(17:14 -0500)
(Otherwise invirt-build-conf fails)
svn path=/trunk/packages/invirt-dev/; revision=2588
debian/invirt-dev.postinst
patch
|
blob
|
history
diff --git
a/debian/invirt-dev.postinst
b/debian/invirt-dev.postinst
index
55bff25
..
d9b6b9b
100755
(executable)
--- a/
debian/invirt-dev.postinst
+++ b/
debian/invirt-dev.postinst
@@
-16,6
+16,10
@@
case "$1" in
adduser --system --home /srv/git --shell /usr/bin/git-shell git
fi
adduser --system --home /srv/git --shell /usr/bin/git-shell git
fi
+ if ! [ -d /srv/git ]; then
+ mkdir -p /srv/git
+ fi
+
invirt-build-conf
cat >>/etc/sudoers <<EOF
invirt-build-conf
cat >>/etc/sudoers <<EOF