diff options
| author | Greg Frost <gregfrost1@bigpond.com> | 2009-07-01 04:16:12 (GMT) | 
|---|---|---|
| committer | Greg Frost <gregfrost1@bigpond.com> | 2009-07-01 04:16:12 (GMT) | 
| commit | 1aa2f7a87795c2cf115bf329d214c5c63719f97f (patch) | |
| tree | 802dcf7db721bb286b283dff0003414c6b9c5ff2 /abs/core-testing/php/php.install | |
| parent | 54bcbdf2afe09939a73e2a5a8e0c8818905c1cd0 (diff) | |
| download | linhes_pkgbuild-1aa2f7a87795c2cf115bf329d214c5c63719f97f.zip linhes_pkgbuild-1aa2f7a87795c2cf115bf329d214c5c63719f97f.tar.gz linhes_pkgbuild-1aa2f7a87795c2cf115bf329d214c5c63719f97f.tar.bz2  | |
php: apply fix as per FS#377
Diffstat (limited to 'abs/core-testing/php/php.install')
| -rw-r--r-- | abs/core-testing/php/php.install | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/php/php.install b/abs/core-testing/php/php.install index ba55b54..3d6093f 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...'  | 
