diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | install | 8 |
3 files changed, 11 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue Dec 1 00:13:00 UTC 2015 +# Tue Dec 1 01:04:22 UTC 2015 pkgbase = z-push pkgdesc = open-source implementation of the ActiveSync protocol pkgver = 2.2.5 - pkgrel = 3 + pkgrel = 4 url = http://z-push.sf.net/ install = install arch = any @@ -4,7 +4,7 @@ pkgname=z-push pkgver=2.2.5 -pkgrel=3 +pkgrel=4 pkgdesc="open-source implementation of the ActiveSync protocol" arch=('any') url="http://z-push.sf.net/" @@ -62,5 +62,5 @@ package() { mkdir -p ${pkgdir}/etc/php/fpm.d cp ${srcdir}/z-push.conf ${pkgdir}/etc/php/fpm.d - mkdir -p ${pkgdir}/var/{lib,log}/z-push + mkdir -p ${pkgdir}/var/log/z-push } @@ -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 } |