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 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...'