From e179d165396f026fa6053c6c055d00d16b5eb141 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 29 Aug 2009 17:55:29 -0500
Subject: hobbit-client: create log dir on install.

---
 abs/mv-core/hobbit-client/PKGBUILD              | 2 +-
 abs/mv-core/hobbit-client/hobbit-client.install | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/abs/mv-core/hobbit-client/PKGBUILD b/abs/mv-core/hobbit-client/PKGBUILD
index 5c583b3..25ad6ce 100755
--- a/abs/mv-core/hobbit-client/PKGBUILD
+++ b/abs/mv-core/hobbit-client/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=hobbit-client
 pkgver=4.2.0
-pkgrel=72
+pkgrel=74
 pkgdesc="Hobbit is a system for monitoring servers and networks. "
 license="GPL"
 arch=('i686')
diff --git a/abs/mv-core/hobbit-client/hobbit-client.install b/abs/mv-core/hobbit-client/hobbit-client.install
index f5ca232..61f6378 100755
--- a/abs/mv-core/hobbit-client/hobbit-client.install
+++ b/abs/mv-core/hobbit-client/hobbit-client.install
@@ -1,5 +1,8 @@
 post_install() {
+	mkdir -p /data/srv/hobbit/client/logs
+	mkdir -p /data/srv/hobbit/client/tmp
 	chown -R nobody /data/srv/hobbit
+
 #	chown -R nobody /data/srv/httpd/htdocs/hobbit
 #	chown -R nobody /var/log/hobbit
 }
-- 
cgit v0.12

