summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install8
1 files changed, 7 insertions, 1 deletions
diff --git a/install b/install
index 161f5e93dd11..9152473a60d7 100644
--- a/install
+++ b/install
@@ -1,6 +1,12 @@
post_install() {
cp -n /etc/webapps/z-push/config.example.php /etc/webapps/z-push/config.php
+
+ if [[ ! -e /var/lib/z-push ]];
+ then
+ mkdir -p /var/lib/z-push
+ chown -R http:http /var/lib/z-push
+ fi
+
chown -R http:http /var/log/z-push
- chown -R http:http /var/lib/z-push
}