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/php/php.install | |
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/php/php.install')
-rw-r--r-- | abs/core-testing/php/php.install | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |