summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelsl2019-06-11 22:35:12 +0800
committerangelsl2019-06-11 22:35:12 +0800
commit3385fa15b85d650e06245487d57e99cf721c6c9a (patch)
tree1d201d72f3f9f35fe5c2513fcc38525eb96a61b9
parent8239aef537be1af04e9134116f866aefd816949a (diff)
downloadaur-3385fa15b85d650e06245487d57e99cf721c6c9a.tar.gz
Set permissions of cache directory
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 304c2f18bffe..a615f5210ed2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 10926f8e6e2e..f20803128370 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"
}