projects
/
invirt/packages/invirt-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Create /srv/git when installing invirt-dev if it doesn't exist.
[invirt/packages/invirt-dev.git]
/
debian
/
invirt-dev.postinst
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
+ if ! [ -d /srv/git ]; then
+ mkdir -p /srv/git
+ fi
+
invirt-build-conf
cat >>/etc/sudoers <<EOF