From e0babed9dd43120e5452db2f3c5797e48bea8094 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 1 Jul 2004 09:48:11 +0000 Subject: Suppress noises in urpmi.cfg --- urpm/cfg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urpm/cfg.pm b/urpm/cfg.pm index 191b2108..7e273375 100644 --- a/urpm/cfg.pm +++ b/urpm/cfg.pm @@ -144,7 +144,7 @@ sub dump_config ($$) { next if !keys %{$config->{''}}; print $f "{\n"; } - for (sort grep { $_ ne 'url' } keys %{$config->{$m}}) { + for (sort grep { $_ && $_ ne 'url' } keys %{$config->{$m}}) { if (/^(update|ignore|synthesis|virtual)$/) { print $f " $_\n"; } else { -- cgit v1.2.1