summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorangelsl2019-06-11 22:35:12 +0800
committerangelsl2019-06-11 22:35:12 +0800
commit3385fa15b85d650e06245487d57e99cf721c6c9a (patch)
tree1d201d72f3f9f35fe5c2513fcc38525eb96a61b9 /PKGBUILD
parent8239aef537be1af04e9134116f866aefd816949a (diff)
downloadaur-3385fa15b85d650e06245487d57e99cf721c6c9a.tar.gz
Set permissions of cache directory
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 10926f8e6e2..f2080312837 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}