r76799 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76798‎ | r76799 | r76800 >
Date:15:29, 16 November 2010
Author:demon
Status:ok
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/phpunit/install-phpunit.sh
@@ -7,16 +7,16 @@
88
99 if ( has_binary phpunit ); then
1010 echo PHPUnit already installed
 11+else if ( has_binary pear ); then
 12+ echo Installing phpunit with pear
 13+ pear channel-discover pear.phpunit.de
 14+ pear install phpunit/PHPUnit
1115 else if ( has_binary apt-get ); then
1216 echo Installing phpunit with apt-get
1317 apt-get install phpunit
1418 else if ( has_binary yum ); then
1519 echo Installing phpunit with yum
1620 yum install phpunit
17 -else if ( has_binary pear ); then
18 - echo Installing phpunit with pear
19 - pear channel-discover pear.phpunit.de
20 - pear install phpunit/PHPUnit
2121 fi
2222 fi
2323 fi

Status & tagging log