wok rev 1781
php_pear: setup include_path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 29 10:01:52 2008 +0000 (2008-11-29) |
parents | 879fb025757a |
children | 111a98b98ac0 |
files | php-pear/receipt |
line diff
1.1 --- a/php-pear/receipt Sat Nov 29 08:56:18 2008 +0000 1.2 +++ b/php-pear/receipt Sat Nov 29 10:01:52 2008 +0000 1.3 @@ -17,3 +17,10 @@ 1.4 cp $_pkg/etc/pear.conf $fs/etc 1.5 cp $_pkg/usr/bin/pe* $fs/usr/bin 1.6 } 1.7 + 1.8 +# Pre and post install commands for Tazpkg. 1.9 +post_install() 1.10 +{ 1.11 + grep ^include_path $1/etc/php.ini 1.12 + sed -i 's|/php/includes"|/php/includes"\ninclude_path = ".:/usr/share/php"|' $1/etc/php.ini 1.13 +}