wok-current diff eaccelerator/receipt @ rev 20440
Up lvm2 (2.02.181)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 11 11:00:53 2018 +0200 (2018-09-11) |
parents | 8fdebdc42cf1 |
children | a3c45ab9082e |
line diff
1.1 --- a/eaccelerator/receipt Thu Dec 12 06:50:55 2013 +0000 1.2 +++ b/eaccelerator/receipt Tue Sep 11 11:00:53 2018 +0200 1.3 @@ -39,8 +39,8 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - grep -q ^extension=msql.so $1/etc/php.ini || \ 1.8 - sed -e 's|;.*extension=msql.so|; extension=msql.so\nextension=eaccelerator.so\neaccelerator.shm_size="48"\neaccelerator.cache_dir="/tmp/eaccelerator"\neaccelerator.enable="1"\neaccelerator.optimizer="1"\neaccelerator.check_mtime="1"\neaccelerator.debug="0"\neaccelerator.filter=""\neaccelerator.shm_max="0"\neaccelerator.shm_ttl="0"\neaccelerator.shm_prune_period="0"\neaccelerator.shm_only="0"\neaccelerator.compress="1"\neaccelerator.compress_level="9"|' -i $1/etc/php.ini 1.9 + grep -q ^extension=msql.so "$1/etc/php.ini" || \ 1.10 + sed -e 's|;.*extension=msql.so|; extension=msql.so\nextension=eaccelerator.so\neaccelerator.shm_size="48"\neaccelerator.cache_dir="/tmp/eaccelerator"\neaccelerator.enable="1"\neaccelerator.optimizer="1"\neaccelerator.check_mtime="1"\neaccelerator.debug="0"\neaccelerator.filter=""\neaccelerator.shm_max="0"\neaccelerator.shm_ttl="0"\neaccelerator.shm_prune_period="0"\neaccelerator.shm_only="0"\neaccelerator.compress="1"\neaccelerator.compress_level="9"|' -i "$1/etc/php.ini" 1.11 1.12 # Start Web server. 1.13 while read daemon file; do