summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/php
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-03-21 03:47:12 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-03-21 03:47:12 (GMT)
commit3e0887cb811e0e1bb9fa730c50a22c101117c9fd (patch)
tree4327f14728e22bb63613b1b41bc4c73d59e6c291 /abs/core-testing/php
parent948970dc8ce2e250324747bf0499c78acfd78912 (diff)
downloadlinhes_pkgbuild-3e0887cb811e0e1bb9fa730c50a22c101117c9fd.zip
linhes_pkgbuild-3e0887cb811e0e1bb9fa730c50a22c101117c9fd.tar.gz
linhes_pkgbuild-3e0887cb811e0e1bb9fa730c50a22c101117c9fd.tar.bz2
php: fix sed in install file to account for / in the timezone
closes 649
Diffstat (limited to 'abs/core-testing/php')
-rw-r--r--abs/core-testing/php/PKGBUILD2
-rw-r--r--abs/core-testing/php/php.install4
2 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/php/PKGBUILD b/abs/core-testing/php/PKGBUILD
index 65862a9..9e297f0 100644
--- a/abs/core-testing/php/PKGBUILD
+++ b/abs/core-testing/php/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=php
pkgver=5.2.6
-pkgrel=29
+pkgrel=31
_suhosinver=0.9.6.2
pkgdesc='A high-level scripting language'
arch=('i686' 'x86_64')
diff --git a/abs/core-testing/php/php.install b/abs/core-testing/php/php.install
index 469db4a..1981a63 100644
--- a/abs/core-testing/php/php.install
+++ b/abs/core-testing/php/php.install
@@ -4,7 +4,7 @@ post_install() {
. /etc/systemconfig
if [ -f /etc/php/php.ini ]
then
- sed -i 's/^.*date.timezone.*$/date.timezone='${timezone}'/' /etc/php/php.ini
+ sed -i 's|^.*date.timezone.*$|date.timezone='${timezone}'|' /etc/php/php.ini
fi
fi
}
@@ -40,7 +40,7 @@ post_upgrade() {
. /etc/systemconfig
if [ -f /etc/php/php.ini ]
then
- sed -i 's/^.*date.timezone.*$/date.timezone='${timezone}'/' /etc/php/php.ini
+ sed -i 's|^.*date.timezone.*$|date.timezone='${timezone}'|' /etc/php/php.ini
fi
fi
echo 'Updating extension dir...'