From: Stig Bakken Date: Thu, 9 May 2002 06:49:12 +0000 (+0000) Subject: * show "update ok" after updates X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dad70be69c7e0ceec1388efcf176b01d63193e1d;p=php * show "update ok" after updates --- diff --git a/pear/PEAR/Command/Install.php b/pear/PEAR/Command/Install.php index cae832aec7..b9eb8aeeed 100644 --- a/pear/PEAR/Command/Install.php +++ b/pear/PEAR/Command/Install.php @@ -121,9 +121,9 @@ class PEAR_Command_Install extends PEAR_Command_Common // fall through case 'install': { if ($installer->install(@$params[0], $opts, $this->config)) { - $this->ui->displayLine("install ok"); + $this->ui->displayLine("$command ok"); } else { - $failmsg = "install failed"; + $failmsg = "$command failed"; } break; }