summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelsl2019-06-11 21:34:25 +0800
committerangelsl2019-06-11 21:34:25 +0800
commit6bf92c139ed759d478dab8a5620e1ce065f284eb (patch)
tree08ebc4520bc3f0799ad87fc34e366fa145cbcf77
parentd2b15c418f2611e84ca27447951fcde4f35471c9 (diff)
downloadaur-6bf92c139ed759d478dab8a5620e1ce065f284eb.tar.gz
Add symlink for .env
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7cd6f986684..9d6666d7159 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefly-iii
pkgdesc = PHP personal finances manager
pkgver = 4.7.17
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/firefly-iii/firefly-iii
install = firefly-iii.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index bf867b5d831..4a0b80b63bc 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=1
+pkgrel=2
pkgdesc='PHP personal finances manager'
arch=('any')
url="https://github.com/${pkgname}/${pkgname}"
@@ -28,10 +28,12 @@ package() {
cp -v .env.example "$pkgdir/etc/webapps/$pkgname/.env"
cp -v .deploy/*/.env* "$pkgdir/etc/webapps/$pkgname"
-
+
for i in '' '.docker' '.sandstorm' '.heroku' ; do
mv -v "$pkgdir/etc/webapps/$pkgname/.env$i" "$pkgdir/etc/webapps/$pkgname/config.env$i"
done
+
+ ln -s "/etc/webapps/$pkgname/config.env" "$pkgdir/usr/share/webapps/$pkgname/.env"
}
# vim:ts=4:sw=4:expandtab