commit
0c0e9d582a
2 changed files with 4 additions and 2 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue