diff options
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 +} |