}
if [ `id -u` -ne 0 ]; then
- echo '*** ERROR' Must be root to run
+ echo '*** ERROR: Must be root to run'
exit 1
fi
echo Installing phpunit with pear
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
- pear channel-discover pear.symfony-project.com
- pear install phpunit/PHPUnit
+ pear channel-discover pear.symfony.com
+ pear update-channels
+ #Temporary fix for 64597
+ pear install --alldeps phpunit/PHPUnit-3.7.35
else if ( has_binary apt-get ); then
echo Installing phpunit with apt-get
apt-get install phpunit