Fix var-related error

This commit is contained in:
Dmitriy Bogdanov 2017-01-30 16:47:54 +04:00
parent 8ddaa020b6
commit 82f727e29a
No known key found for this signature in database
GPG key ID: F396CC2653B8F64D

View file

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