diff options
author | angelsl | 2019-06-11 22:35:12 +0800 |
---|---|---|
committer | angelsl | 2019-06-11 22:35:12 +0800 |
commit | 3385fa15b85d650e06245487d57e99cf721c6c9a (patch) | |
tree | 1d201d72f3f9f35fe5c2513fcc38525eb96a61b9 | |
parent | 8239aef537be1af04e9134116f866aefd816949a (diff) | |
download | aur-3385fa15b85d650e06245487d57e99cf721c6c9a.tar.gz |
Set permissions of cache directory
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = firefly-iii pkgdesc = PHP personal finances manager pkgver = 4.7.17 - pkgrel = 3 + pkgrel = 4 url = https://github.com/firefly-iii/firefly-iii install = firefly-iii.install arch = any @@ -1,7 +1,7 @@ # Maintainer: Simon Doppler (dopsi) <dop.simon@gmail.com> pkgname=firefly-iii pkgver=4.7.17 -pkgrel=3 +pkgrel=4 pkgdesc='PHP personal finances manager' arch=('any') url="https://github.com/${pkgname}/${pkgname}" @@ -36,6 +36,7 @@ package() { ln -s "/etc/webapps/$pkgname/config.env" "$pkgdir/usr/share/webapps/$pkgname/.env" rm -rf "$pkgdir/usr/share/webapps/$pkgname/bootstrap/cache" mkdir -p "$pkgdir/var/cache/$pkgname" + chown http:http "$pkgdir/var/cache/$pkgname" ln -s "/var/cache/$pkgname" "$pkgdir/usr/share/webapps/$pkgname/bootstrap/cache" } |