cvs: pear-core /PEAR/Command Install.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 08 Mar 2009 04:01:12 +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-8251@lists.php.net to get a copy of this message | ||
dufuz Sun Mar 8 04:01:12 2009 UTC
Modified files:
/pear-core/PEAR/Command Install.php
Log:
Fix conflict handling in the installer.
http://cvs.php.net/viewvc.cgi/pear-core/PEAR/Command/Install.php?r1=1.152&r2=1.153&diff_format=u
Index: pear-core/PEAR/Command/Install.php
diff -u pear-core/PEAR/Command/Install.php:1.152 pear-core/PEAR/Command/Install.php:1.153
--- pear-core/PEAR/Command/Install.php:1.152 Sun Mar 8 00:45:44 2009
+++ pear-core/PEAR/Command/Install.php Sun Mar 8 04:01:11 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.152 2009/03/08 00:45:44 dufuz Exp $
+ * @version CVS: $Id: Install.php,v 1.153 2009/03/08 04:01:11 dufuz Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -658,9 +658,7 @@
}
$this->downloader = &$this->getDownloader($this->ui, $options,
$this->config);
- $errors = array();
- $binaries = array();
- $downloaded = array();
+ $errors = $downloaded = $binaries = array();
$downloaded = &$this->downloader->download($packages);
if (PEAR::isError($downloaded)) {
return $this->raiseError($downloaded);