From: Tomas V.V.Cox Date: Tue, 16 Apr 2002 00:23:32 +0000 (+0000) Subject: Be more clear when no packages are installed X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~639 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=299849fbf236f56f9a0cd30439cd1b80868e5a47;p=php Be more clear when no packages are installed --- diff --git a/pear/PEAR/Command/Registry.php b/pear/PEAR/Command/Registry.php index 18984abb24..252701dcdf 100644 --- a/pear/PEAR/Command/Registry.php +++ b/pear/PEAR/Command/Registry.php @@ -87,6 +87,9 @@ class PEAR_Command_Registry extends PEAR_Command_Common $package['version'], @$package['release_state'])); } + if ($i == 0) { + $this->ui->tableRow(array('(no packages installed yet)')); + } $this->ui->endTable(); break; }