Fix var-related error
This commit is contained in:
parent
8ddaa020b6
commit
82f727e29a
1 changed files with 2 additions and 0 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}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue