summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/php/php.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/php/php.install')
-rw-r--r--abs/core-testing/php/php.install4
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
}