diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-18 09:33:52 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-18 09:33:52 (GMT) |
commit | 2331018be99bf6286ba6eb927d611d0d65c5d761 (patch) | |
tree | eb90851a0c5dcad511f4051ab2de6d0c8d73e432 /abs/core-testing | |
parent | 9e66bf52c05515e088d091840fbf3cb39542f480 (diff) | |
download | linhes_pkgbuild-2331018be99bf6286ba6eb927d611d0d65c5d761.zip linhes_pkgbuild-2331018be99bf6286ba6eb927d611d0d65c5d761.tar.gz linhes_pkgbuild-2331018be99bf6286ba6eb927d611d0d65c5d761.tar.bz2 |
php:crack at resolving sed error.
Diffstat (limited to 'abs/core-testing')
-rw-r--r-- | abs/core-testing/php/PKGBUILD | 2 | ||||
-rw-r--r-- | abs/core-testing/php/php.install | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/php/PKGBUILD b/abs/core-testing/php/PKGBUILD index 978bf8c..975716a 100644 --- a/abs/core-testing/php/PKGBUILD +++ b/abs/core-testing/php/PKGBUILD @@ -1,6 +1,6 @@ pkgname=php pkgver=5.2.6 -pkgrel=22 +pkgrel=23 _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 3d6093f..469db4a 100644 --- a/abs/core-testing/php/php.install +++ b/abs/core-testing/php/php.install @@ -44,7 +44,7 @@ post_upgrade() { fi fi echo 'Updating extension dir...' - sed -i -e 's#extension_dir = "/usr/lib/php/extensions/php/"#extension_dir = "/usr/lib/php/20060613/"#g' /etc/php/php.ini + sed -i -e 's/#extension_dir = "/usr/lib/php/extensions/php/"/#extension_dir = "/usr/lib/php/20060613/"#g' /etc/php/php.ini echo ' ==> Location of php.ini has changed @@ -64,7 +64,7 @@ post_upgrade() { # can be removed later if [ $(vercmp '5.2.4-3' $2) -eq 0 ]; then echo 'Updating extension dir...' - sed -i -e 's#extension_dir = "/usr/lib/php/extensions/"#extension_dir = "/usr/lib/php/20060613/"#g' /etc/php/php.ini + sed -i -e 's/#extension_dir = "/usr/lib/php/extensions/"/#extension_dir = "/usr/lib/php/20060613/"#g' /etc/php/php.ini fi } |