# HG changeset patch # User Pascal Bellard # Date 1227955107 0 # Node ID 111a98b98ac062d822f5b6c29dcf9283d16fb837 # Parent dc930a3898b909036f9217405e2596c8e5477df9 php-pear: restart web server diff -r dc930a3898b9 -r 111a98b98ac0 php-pear/receipt --- a/php-pear/receipt Sat Nov 29 10:01:52 2008 +0000 +++ b/php-pear/receipt Sat Nov 29 10:38:27 2008 +0000 @@ -23,4 +23,11 @@ { grep ^include_path $1/etc/php.ini sed -i 's|/php/includes"|/php/includes"\ninclude_path = ".:/usr/share/php"|' $1/etc/php.ini + # Restart Web server. + for daemon in apache lighttpd ; do + if [ -f /etc/init.d/$daemon ]; then + /etc/init.d/$daemon stop + /etc/init.d/$daemon start + fi + done }