cvs: pear-core /PEAR/Command Install.php

From: Date: Wed, 06 Apr 2005 22:24:29 +0000
Subject: cvs: pear-core /PEAR/Command Install.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-30996@lists.php.net to get a copy of this message
cellog Wed Apr 6 18:24:29 2005 EDT Modified files: /pear-core/PEAR/Command Install.php Log: don't show info on the default install group http://cvs.php.net/diff.php/pear-core/PEAR/Command/Install.php?r1=1.94&r2=1.95&ty=u Index: pear-core/PEAR/Command/Install.php diff -u pear-core/PEAR/Command/Install.php:1.94 pear-core/PEAR/Command/Install.php:1.95 --- pear-core/PEAR/Command/Install.php:1.94 Sat Apr 2 23:50:51 2005 +++ pear-core/PEAR/Command/Install.php Wed Apr 6 18:24:29 2005 @@ -16,7 +16,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: Install.php,v 1.94 2005/04/03 04:50:51 cellog Exp $ + * @version CVS: $Id: Install.php,v 1.95 2005/04/06 22:24:29 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -480,6 +480,11 @@ $groups = array($groups); } foreach ($groups as $group) { + if ($group['attribs']['name'] == 'default') { + // default group is always installed, unless the user + // explicitly chooses to install another group + continue; + } $this->ui->outputData($param->getPackage() . ': Optional feature ' . $group['attribs']['name'] . ' available (' . $group['attribs']['hint'] . ')');

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