equal
deleted
inserted
replaced
34 perl -pi -e 's{^;?\s*(date\.timezone\s*=).*$}{$1 "Europe/Berlin"}' $f |
34 perl -pi -e 's{^;?\s*(date\.timezone\s*=).*$}{$1 "Europe/Berlin"}' $f |
35 |
35 |
36 # not sure if this conforms to policy: changing another packages |
36 # not sure if this conforms to policy: changing another packages |
37 # config files |
37 # config files |
38 if test -d /etc/php5/cli; then |
38 if test -d /etc/php5/cli; then |
39 echo "# linking php.ini to zend" >&2 |
39 #echo "# linking php.ini to zend" >&2 |
40 ( set -e |
40 ( set -e |
41 cd /etc/php5/cli |
41 cd /etc/php5/cli |
42 s=/usr/local/zend/etc/conf.php.ini |
42 s=/usr/local/zend/etc/conf.php.ini |
43 if test `readlink -f php.ini` != `readlink -f $s` |
43 if test `readlink -f php.ini` != `readlink -f $s` |
44 then |
44 then |
47 fi |
47 fi |
48 ) |
48 ) |
49 fi |
49 fi |
50 |
50 |
51 if test -d "/etc/php5/conf.d"; then |
51 if test -d "/etc/php5/conf.d"; then |
52 echo "# linkin other zend inis" >&2 |
52 #echo "# linking other zend inis" >&2 |
53 ( set -e |
53 ( set -e |
54 cd /etc/php5/conf.d |
54 cd /etc/php5/conf.d |
55 for p in mysqli.ini curl.ini mcrypt.ini gd.ini |
55 for p in mysqli.ini curl.ini mcrypt.ini gd.ini |
56 do |
56 do |
57 s=/usr/local/zend/etc/conf.d/$p |
57 s=/usr/local/zend/etc/conf.d/$p |