From: Chad Horohoe Date: Tue, 16 Nov 2010 15:29:48 +0000 (+0000) Subject: Move preference for PEAR higher up the list, apt and yum repos tend to be out of... X-Git-Tag: 1.31.0-rc.0~33862 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=abbd8a508ac9f745576978127f070084a89b1f74;p=lhc%2Fweb%2Fwiklou.git Move preference for PEAR higher up the list, apt and yum repos tend to be out of date --- diff --git a/maintenance/tests/phpunit/install-phpunit.sh b/maintenance/tests/phpunit/install-phpunit.sh index 208b975a52..dbe5a0214e 100755 --- a/maintenance/tests/phpunit/install-phpunit.sh +++ b/maintenance/tests/phpunit/install-phpunit.sh @@ -7,16 +7,16 @@ fi if ( has_binary phpunit ); then echo PHPUnit already installed +else if ( has_binary pear ); then + echo Installing phpunit with pear + pear channel-discover pear.phpunit.de + pear install phpunit/PHPUnit else if ( has_binary apt-get ); then echo Installing phpunit with apt-get apt-get install phpunit else if ( has_binary yum ); then echo Installing phpunit with yum yum install phpunit -else if ( has_binary pear ); then - echo Installing phpunit with pear - pear channel-discover pear.phpunit.de - pear install phpunit/PHPUnit fi fi fi