summaryrefslogtreecommitdiffstats
path: root/abs/core/php/php.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-01 20:52:25 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-01 20:52:25 (GMT)
commit427e01961c6ed50ac990f5327d00a7e42c3a2a69 (patch)
tree879f9e656b1bed27e8ef3084314262d57f25a061 /abs/core/php/php.install
parent3202a396e855bfcc02a639d9b9cefd6bc44f1c40 (diff)
downloadlinhes_pkgbuild-427e01961c6ed50ac990f5327d00a7e42c3a2a69.zip
linhes_pkgbuild-427e01961c6ed50ac990f5327d00a7e42c3a2a69.tar.gz
linhes_pkgbuild-427e01961c6ed50ac990f5327d00a7e42c3a2a69.tar.bz2
php: updated to 5.4.8
see __changelog for details on php.ini refs #857
Diffstat (limited to 'abs/core/php/php.install')
-rwxr-xr-xabs/core/php/php.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/php/php.install b/abs/core/php/php.install
new file mode 100755
index 0000000..772c0ea
--- /dev/null
+++ b/abs/core/php/php.install
@@ -0,0 +1,14 @@
+post_install() {
+ if [ -f /etc/systemconfig ]
+ then
+ . /etc/systemconfig
+ if [ -f /etc/php/php.ini ]
+ then
+ sed -i 's|^.*date.timezone.*$|date.timezone='${timezone}'|' /etc/php/php.ini
+ fi
+ fi
+}
+
+post_upgrade() {
+ post_install
+}