summaryrefslogtreecommitdiff
path: root/pear/PEAR/Command/Install.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/PEAR/Command/Install.php')
-rw-r--r--pear/PEAR/Command/Install.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/pear/PEAR/Command/Install.php b/pear/PEAR/Command/Install.php
index fd3ed39f24..69256a9f56 100644
--- a/pear/PEAR/Command/Install.php
+++ b/pear/PEAR/Command/Install.php
@@ -246,7 +246,11 @@ specified at once.
if (is_array($info)) {
if ($this->config->get('verbose') > 0) {
$label = "$info[package] $info[version]";
- $this->ui->outputData("$command ok: $label", $command);
+ $out = array('data' => "$command ok: $label");
+ if (isset($info['release_warnings'])) {
+ $out['release_warnings'] = $info['release_warnings'];
+ }
+ $this->ui->outputData($out, $command);
}
} else {
return $this->raiseError("$command failed");
@@ -277,4 +281,4 @@ specified at once.
}
-?> \ No newline at end of file
+?>