Merge pull request #8 from di72nn/fix_2.2

Fix var-related error
This commit is contained in:
Philipp Schmitt 2017-01-30 14:49:09 +01:00 committed by GitHub
commit 0c0e9d582a
2 changed files with 4 additions and 2 deletions

View file

@ -46,5 +46,7 @@ package() {
ln -s "/var/lib/${pkgname}/"{data,var} "${pkgdir}/usr/share/webapps/${pkgname}/" ln -s "/var/lib/${pkgname}/"{data,var} "${pkgdir}/usr/share/webapps/${pkgname}/"
chown -R http:http "$_VAR_DIR" 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}" chown -R http:http "${pkgdir}/usr/share/webapps/${pkgname}"
} }

View file

@ -12,8 +12,8 @@ post_install() {
echo -n "To setup your webserver and enable the needed php extensions, " 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 "please read: http://doc.wallabag.org/en/master/user/installation.html"
echo "" echo ""
echo -n "If you upgraded from 2.0.x, you might need to check the upgrade guide: " echo -n "If you upgraded from 2.0.x or 2.1.x, you might need to check "
echo "http://doc.wallabag.org/en/master/user/upgrade-2.0.x-2.1.1.html" echo "the upgrade guide: http://doc.wallabag.org/en/master/user/upgrade.html"
} }