cvs: php-src(PHP_5) /pear/PEAR/Command Remote.php

From: Date: Wed, 25 Jun 2003 09:02:09 +0000
Subject: cvs: php-src(PHP_5) /pear/PEAR/Command Remote.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-11163@lists.php.net to get a copy of this message
pajoye Wed Jun 25 05:02:09 2003 EDT Modified files: (Branch: PHP_5) /php-src/pear/PEAR/Command Remote.php Log: - Restore Index: php-src/pear/PEAR/Command/Remote.php diff -u php-src/pear/PEAR/Command/Remote.php:1.30 php-src/pear/PEAR/Command/Remote.php:1.30.2.1 --- php-src/pear/PEAR/Command/Remote.php:1.30 Tue Jun 10 16:03:43 2003 +++ php-src/pear/PEAR/Command/Remote.php Wed Jun 25 05:02:09 2003 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Remote.php,v 1.30 2003/06/10 20:03:43 imajes Exp $ +// $Id: Remote.php,v 1.30.2.1 2003/06/25 09:02:09 pajoye Exp $ require_once 'PEAR/Command/Common.php'; require_once 'PEAR/Common.php'; @@ -334,7 +334,8 @@ 'border' => 1, 'headline' => array('Package', 'Version', 'Size'), ); - foreach ($latest as $package => $info) { + foreach ($latest as $pkg => $info) { + $package = strtolower($pkg); if (!isset($inst[$package])) { // skip packages we don't have installed continue; @@ -354,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');

« previous php.pear.cvs (#11163) next »