summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install9
1 files changed, 3 insertions, 6 deletions
diff --git a/install b/install
index 9152473a60d7..399f8dfb9f3f 100644
--- a/install
+++ b/install
@@ -1,12 +1,9 @@
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
-
+ mkdir -p /var/lib/z-push
+
+ chown -R http:http /var/lib/z-push
chown -R http:http /var/log/z-push
}