cvs: pear-core /PEAR/Command Install.php
| From: | Greg Beaver | Date: | Mon, 21 Feb 2005 01:14:14 +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-29585@lists.php.net to get a copy of this message | ||
cellog Sun Feb 20 20:14:14 2005 EDT
Modified files:
/pear-core/PEAR/Command Install.php
Log:
improve informational messages
http://cvs.php.net/diff.php/pear-core/PEAR/Command/Install.php?r1=1.89&r2=1.90&ty=u
Index: pear-core/PEAR/Command/Install.php
diff -u pear-core/PEAR/Command/Install.php:1.89 pear-core/PEAR/Command/Install.php:1.90
--- pear-core/PEAR/Command/Install.php:1.89 Sun Feb 20 16:04:20 2005
+++ pear-core/PEAR/Command/Install.php Sun Feb 20 20:14:13 2005
@@ -16,7 +16,7 @@
// | Author: Stig S?ther Bakken <ssb@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Install.php,v 1.89 2005/02/20 21:04:20 cellog Exp $
+// $Id: Install.php,v 1.90 2005/02/21 01:14:13 cellog Exp $
require_once "PEAR/Command/Common.php";
require_once "PEAR/Installer.php";
@@ -462,7 +462,7 @@
$groups = array($groups);
}
foreach ($groups as $group) {
- $this->ui->outputData('Notice: Optional feature ' .
+ $this->ui->outputData($param->getPackage() . ': Optional
feature ' .
$group['attribs']['name'] . ' available
(' .
$group['attribs']['hint'] . ')');
}
@@ -473,7 +473,7 @@
$pkg = &$reg->getPackage($param->getPackage(), $param->getChannel());
$pkg->setConfig($this->config);
if ($list = $pkg->listPostinstallScripts()) {
- $extrainfo[] = 'This package has post-install scripts:';
+ $extrainfo[] = $param->getPackage() . ' has post-install
scripts:';
foreach ($list as $file) {
$extrainfo[] = $file;
}