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}" } 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" }