cvs: pear-core /PEAR/Command Install.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 08 Mar 2009 00:45:45 +0000 |
| Subject: | cvs: pear-core /PEAR/Command Install.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-8249@lists.php.net to get a copy of this message | ||
dufuz Sun Mar 8 00:45:45 2009 UTC
Modified files:
/pear-core/PEAR/Command Install.php
Log:
CS fixes and readability
http://cvs.php.net/viewvc.cgi/pear-core/PEAR/Command/Install.php?r1=1.151&r2=1.152&diff_format=u
Index: pear-core/PEAR/Command/Install.php
diff -u pear-core/PEAR/Command/Install.php:1.151 pear-core/PEAR/Command/Install.php:1.152
--- pear-core/PEAR/Command/Install.php:1.151 Tue Feb 24 23:39:29 2009
+++ pear-core/PEAR/Command/Install.php Sun Mar 8 00:45:44 2009
@@ -10,7 +10,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2009 The Authors
* @license http://opensource.org/licenses/bsd-license.php
New BSD License
- * @version CVS: $Id: Install.php,v 1.151 2009/02/24 23:39:29 dufuz Exp $
+ * @version CVS: $Id: Install.php,v 1.152 2009/03/08 00:45:44 dufuz Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -647,7 +647,6 @@
array_map(array($reg, 'parsedPackageNameToString'), $abstractpackages);
}
-
$packages = array_merge($abstractpackages, $otherpackages);
if (!count($packages)) {
$c = '';
@@ -720,6 +719,7 @@
$this->ui->outputData('ERROR: '
.$oldinfo->getMessage());
continue;
}
+
// we just installed a different package than requested,
// let's change the param and info so that the rest of this works
$param = $info[0];