Index: trunk/phase3/maintenance/tests/phpunit/install-phpunit.sh |
— | — | @@ -7,16 +7,16 @@ |
8 | 8 | |
9 | 9 | if ( has_binary phpunit ); then |
10 | 10 | 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 |
11 | 15 | else if ( has_binary apt-get ); then |
12 | 16 | echo Installing phpunit with apt-get |
13 | 17 | apt-get install phpunit |
14 | 18 | else if ( has_binary yum ); then |
15 | 19 | echo Installing phpunit with yum |
16 | 20 | 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 |
21 | 21 | fi |
22 | 22 | fi |
23 | 23 | fi |