diff options
| author | James Meyer <james.meyer@operamail.com> | 2012-11-01 20:52:25 (GMT) |
|---|---|---|
| committer | James Meyer <james.meyer@operamail.com> | 2012-11-01 20:52:25 (GMT) |
| commit | 427e01961c6ed50ac990f5327d00a7e42c3a2a69 (patch) | |
| tree | 879f9e656b1bed27e8ef3084314262d57f25a061 /abs/core/php/php.install | |
| parent | 3202a396e855bfcc02a639d9b9cefd6bc44f1c40 (diff) | |
| download | linhes_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-x | abs/core/php/php.install | 14 |
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 +} |
