summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-08-29 22:55:29 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-08-29 22:55:29 (GMT)
commite179d165396f026fa6053c6c055d00d16b5eb141 (patch)
tree39256642151fdf563ceb5496af5d04b0c1054c48 /abs
parentabe565e5655ac613d4b14a9908568f61896a75fc (diff)
downloadlinhes_pkgbuild-e179d165396f026fa6053c6c055d00d16b5eb141.zip
linhes_pkgbuild-e179d165396f026fa6053c6c055d00d16b5eb141.tar.gz
linhes_pkgbuild-e179d165396f026fa6053c6c055d00d16b5eb141.tar.bz2
hobbit-client: create log dir on install.
Diffstat (limited to 'abs')
-rwxr-xr-xabs/mv-core/hobbit-client/PKGBUILD2
-rwxr-xr-xabs/mv-core/hobbit-client/hobbit-client.install3
2 files changed, 4 insertions, 1 deletions
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
}