summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorMartina Pietruschka2015-12-01 01:06:40 +0000
committerMartina Pietruschka2015-12-01 01:06:40 +0000
commite05acaa28744b35ebaccb6a93ddab72ab3b4c3a7 (patch)
tree2c95f92aa6c8e7e4ff015bc4dffe67f443b4b4df /install
parentcd196e14ec4d612ef75ebffc5beb82ed04cd1378 (diff)
downloadaur-e05acaa28744b35ebaccb6a93ddab72ab3b4c3a7.tar.gz
keep syncdata
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
}