miniflux: fix data directory.

This commit is contained in:
Eivind Uggedal 2015-01-19 22:26:22 +00:00
parent c42125d68e
commit 3577b9fdc3
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'miniflux'
pkgname=miniflux
version=1.1.6
revision=1
revision=2
noarch=yes
wrksrc=$pkgname
conf_files="/usr/share/webapps/${pkgname}/config.php"
@ -23,7 +23,7 @@ do_install() {
vmkdir $dest
vcopy ./* $dest
sed -e "s|\('DATA_DIRECTORY',\).*)|\1 /var/lib/${pkgname})|" \
sed -e "s|\('DATA_DIRECTORY',\).*)|\1 '/var/lib/${pkgname}')|" \
-e "s|\('DEBUG',\).*)|\1 false)|" \
-e "s|\('ENABLE_AUTO_UPDATE',\).*)|\1 false)|" \
config.default.php > ${DESTDIR}/${dest}/config.php