From 4962cd0b48fc858c41293ec0a9be0fa9e0785fd0 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sat, 5 Dec 2009 17:14:29 -0500 Subject: [PATCH] Create /srv/git when installing invirt-dev if it doesn't exist. (Otherwise invirt-build-conf fails) svn path=/trunk/packages/invirt-dev/; revision=2588 --- debian/invirt-dev.postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/invirt-dev.postinst b/debian/invirt-dev.postinst index 55bff25..d9b6b9b 100755 --- 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 <