summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-01 09:48:11 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-01 09:48:11 +0000
commite0babed9dd43120e5452db2f3c5797e48bea8094 (patch)
treebd3aca58cd4efc85610ae28a80a55c6bbab2c72e
parenta45b338441c8cd640922bf5186fafe0257c3d973 (diff)
downloadurpmi-e0babed9dd43120e5452db2f3c5797e48bea8094.tar
urpmi-e0babed9dd43120e5452db2f3c5797e48bea8094.tar.gz
urpmi-e0babed9dd43120e5452db2f3c5797e48bea8094.tar.bz2
urpmi-e0babed9dd43120e5452db2f3c5797e48bea8094.tar.xz
urpmi-e0babed9dd43120e5452db2f3c5797e48bea8094.zip
Suppress noises in urpmi.cfg
-rw-r--r--urpm/cfg.pm2
1 files changed, 1 insertions, 1 deletions
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 {