http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76799

Revision: 76799
Author:   demon
Date:     2010-11-16 15:29:48 +0000 (Tue, 16 Nov 2010)
Log Message:
-----------
Move preference for PEAR higher up the list, apt and yum repos tend to be out 
of date

Modified Paths:
--------------
    trunk/phase3/maintenance/tests/phpunit/install-phpunit.sh

Modified: trunk/phase3/maintenance/tests/phpunit/install-phpunit.sh
===================================================================
--- trunk/phase3/maintenance/tests/phpunit/install-phpunit.sh   2010-11-16 
15:10:46 UTC (rev 76798)
+++ trunk/phase3/maintenance/tests/phpunit/install-phpunit.sh   2010-11-16 
15:29:48 UTC (rev 76799)
@@ -7,16 +7,16 @@
 
 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


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to