From 82f727e29a389078e1cbce6b8943754b736f400e Mon Sep 17 00:00:00 2001 From: Dmitriy Bogdanov Date: Mon, 30 Jan 2017 16:47:54 +0400 Subject: [PATCH 1/2] Fix var-related error --- PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index 871f11f..7ba7ecd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -46,5 +46,7 @@ package() { ln -s "/var/lib/${pkgname}/"{data,var} "${pkgdir}/usr/share/webapps/${pkgname}/" chown -R http:http "$_VAR_DIR" + sed -i "${_VAR_DIR}/var/bootstrap.php.cache" -e "s@__DIR__.'/../@'/usr/share/webapps/${pkgname}/@" + chown -R http:http "${pkgdir}/usr/share/webapps/${pkgname}" } From 1c5c5ac71474c08800e36f8d01b5f39030b3b493 Mon Sep 17 00:00:00 2001 From: Dmitriy Bogdanov Date: Mon, 30 Jan 2017 16:52:49 +0400 Subject: [PATCH 2/2] Update doc URL --- wallabag.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wallabag.install b/wallabag.install index 1b342a2..efdd2cd 100644 --- a/wallabag.install +++ b/wallabag.install @@ -12,8 +12,8 @@ post_install() { echo -n "To setup your webserver and enable the needed php extensions, " echo "please read: http://doc.wallabag.org/en/master/user/installation.html" echo "" - echo -n "If you upgraded from 2.0.x, you might need to check the upgrade guide: " - echo "http://doc.wallabag.org/en/master/user/upgrade-2.0.x-2.1.1.html" + echo -n "If you upgraded from 2.0.x or 2.1.x, you might need to check " + echo "the upgrade guide: http://doc.wallabag.org/en/master/user/upgrade.html" }