cvs: pear-core /PEAR Installer.php
| From: | Greg Beaver | Date: | Tue, 05 Apr 2005 22:33:33 +0000 |
| Subject: | cvs: pear-core /PEAR Installer.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-30936@lists.php.net to get a copy of this message | ||
cellog Tue Apr 5 18:33:33 2005 EDT
Modified files:
/pear-core/PEAR Installer.php
Log:
fix bug #4060: pear upgrade Auth_HTTP fails
http://cvs.php.net/diff.php/pear-core/PEAR/Installer.php?r1=1.202&r2=1.203&ty=u
Index: pear-core/PEAR/Installer.php
diff -u pear-core/PEAR/Installer.php:1.202 pear-core/PEAR/Installer.php:1.203
--- pear-core/PEAR/Installer.php:1.202 Sun Apr 3 00:17:30 2005
+++ pear-core/PEAR/Installer.php Tue Apr 5 18:33:32 2005
@@ -18,7 +18,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Installer.php,v 1.202 2005/04/03 05:17:30 cellog Exp $
+ * @version CVS: $Id: Installer.php,v 1.203 2005/04/05 22:33:32 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -1125,6 +1125,9 @@
} else {
$filelist = $pkg->getFileList();
}
+ if (PEAR::isError($filelist)) {
+ return $filelist;
+ }
$pkg->resetFilelist();
$pkg->setLastInstalledVersion($this->_registry->packageInfo($pkg->getPackage(),
'version', $pkg->getChannel()));