From 2331018be99bf6286ba6eb927d611d0d65c5d761 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Fri, 18 Sep 2009 02:33:52 -0700 Subject: php:crack at resolving sed error. --- abs/core-testing/php/PKGBUILD | 2 +- 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 } -- cgit v0.12