blob: 603981d636bec53c06821ccbf6e57156686d51e1 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | PKGBUILD: package_php: add deps 'php-gd' since we have them in linhes.ini
PKGBUILD: package_php: comment out backup=('etc/php/php.ini')
PKGBUILD: package_php: add linhes.ini and put it in /etc/php/conf.d/
          install -D -m644 ${srcdir}/linhes.ini ${pkgdir}/etc/php/conf.d/linhes.ini
PKGBUILD: add php.install:
post_upgrade & post_install
if [ -f /etc/systemconfig ]
then
    . /etc/systemconfig
    if [ -f /etc/php/conf.d/linhes.ini ]
    then
        sed -i 's|^.*date.timezone.*$|date.timezone='${timezone}'|' /etc/php/conf.d/linhes.ini
    fi
fi
 |