]> granicus.if.org Git - php/commitdiff
* show "update ok" after updates
authorStig Bakken <ssb@php.net>
Thu, 9 May 2002 06:49:12 +0000 (06:49 +0000)
committerStig Bakken <ssb@php.net>
Thu, 9 May 2002 06:49:12 +0000 (06:49 +0000)
pear/PEAR/Command/Install.php

index cae832aec7ddaf98ac80d880e218d51893aab6db..b9eb8aeeed34ad2255bb3c51149a05b726eaf84c 100644 (file)
@@ -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;
             }