cvs: php4 /pear/PEAR/Command Remote.php
| From: | Tomas V.V.Cox | Date: | Mon, 23 Jun 2003 19:38:22 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Command Remote.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-11141@lists.php.net to get a copy of this message | ||
cox Mon Jun 23 15:38:22 2003 EDT
Modified files:
/php4/pear/PEAR/Command Remote.php
Log:
Cosmetic change, show the real package name instead
of the lower cased one
Index: php4/pear/PEAR/Command/Remote.php
diff -u php4/pear/PEAR/Command/Remote.php:1.31 php4/pear/PEAR/Command/Remote.php:1.32
--- php4/pear/PEAR/Command/Remote.php:1.31 Mon Jun 23 15:24:36 2003
+++ php4/pear/PEAR/Command/Remote.php Mon Jun 23 15:38:22 2003
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Remote.php,v 1.31 2003/06/23 19:24:36 pajoye Exp $
+// $Id: Remote.php,v 1.32 2003/06/23 19:38:22 cox Exp $
require_once 'PEAR/Command/Common.php';
require_once 'PEAR/Common.php';
@@ -334,8 +334,8 @@
'border' => 1,
'headline' => array('Package', 'Version',
'Size'),
);
- foreach ($latest as $package => $info) {
- $package = strtolower($package);
+ foreach ($latest as $pkg => $info) {
+ $package = strtolower($pkg);
if (!isset($inst[$package])) {
// skip packages we don't have installed
continue;
@@ -355,7 +355,7 @@
} else {
$fs = " -"; // XXX center instead
}
- $data['data'][] = array($package, $version, $fs);
+ $data['data'][] = array($pkg, $version, $fs);
}
if (empty($data['data'])) {
$this->ui->outputData('No upgrades available');