wok diff eaccelerator/receipt @ rev 20577
Up btrfs-progs (4.19.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 18:01:50 2018 +0100 (2018-12-13) |
parents | 8fdebdc42cf1 |
children | a3c45ab9082e |
line diff
1.1 --- a/eaccelerator/receipt Thu Dec 12 06:50:55 2013 +0000 1.2 +++ b/eaccelerator/receipt Thu Dec 13 18:01:50 2018 +0100 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