# HG changeset patch # User Pascal Bellard # Date 1227952912 0 # Node ID dc930a3898b909036f9217405e2596c8e5477df9 # Parent 879fb025757ae98ccd350876e9708ccd7255adc3 php_pear: setup include_path diff -r 879fb025757a -r dc930a3898b9 php-pear/receipt --- a/php-pear/receipt Sat Nov 29 08:56:18 2008 +0000 +++ b/php-pear/receipt Sat Nov 29 10:01:52 2008 +0000 @@ -17,3 +17,10 @@ cp $_pkg/etc/pear.conf $fs/etc cp $_pkg/usr/bin/pe* $fs/usr/bin } + +# Pre and post install commands for Tazpkg. +post_install() +{ + grep ^include_path $1/etc/php.ini + sed -i 's|/php/includes"|/php/includes"\ninclude_path = ".:/usr/share/php"|' $1/etc/php.ini +}