From 0e22becfb68659bad6bc174037405b7809859890 Mon Sep 17 00:00:00 2001 From: Mercier Pierre-Olivier Date: Mon, 16 Sep 2013 04:31:41 +0200 Subject: [PATCH] Fix installation --- commands/first-install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/commands/first-install.sh b/commands/first-install.sh index 89b7812..a222a7e 100755 --- a/commands/first-install.sh +++ b/commands/first-install.sh @@ -26,4 +26,11 @@ fi chown -R intradmin:intradmin /home/intradmin +# Git ? +if egrep '^git:' /etc/passwd > /dev/null +then + mkdir -p /var/log/hooks/ && + chown git /var/log/hooks/ +fi + echo "System ready!" \ No newline at end of file