summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorMartina Pietruschka2015-12-01 16:45:24 +0000
committerMartina Pietruschka2015-12-01 16:45:24 +0000
commitbf9b90499d0d948a692188215b285129418bbf2b (patch)
treeccad1c6cd0a34387f4d4277578edc3459652be49 /install
parente05acaa28744b35ebaccb6a93ddab72ab3b4c3a7 (diff)
downloadaur-bf9b90499d0d948a692188215b285129418bbf2b.tar.gz
top and admin script for terminal
Diffstat (limited to 'install')
-rw-r--r--install9
1 files changed, 3 insertions, 6 deletions
diff --git a/install b/install
index 9152473a60d..399f8dfb9f3 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
}