summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-15 02:04:03 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-15 02:04:03 +0000
commit308ce1b7676b1a0e07a26327485fdc7892156fad (patch)
treeb358761647235589aeb419628b166daa41526c1f
parentfe41fb501f37297b7d6d86fedb39cfb189b693e2 (diff)
downloadurpmi-308ce1b7676b1a0e07a26327485fdc7892156fad.tar
urpmi-308ce1b7676b1a0e07a26327485fdc7892156fad.tar.gz
urpmi-308ce1b7676b1a0e07a26327485fdc7892156fad.tar.bz2
urpmi-308ce1b7676b1a0e07a26327485fdc7892156fad.tar.xz
urpmi-308ce1b7676b1a0e07a26327485fdc7892156fad.zip
(install) do not show empty information from README* with --justdb
-rw-r--r--NEWS3
-rw-r--r--urpm/install.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d8534b5e..30640393 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- library:
+ o do not show empty information from README* with --justdb
+
Version 7.14 - 13 December 2012, by Thierry Vignaud
- library:
diff --git a/urpm/install.pm b/urpm/install.pm
index fde09cdb..b7fd6dd9 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -348,7 +348,7 @@ sub install {
}
}
- if ($options{verbose} >= 0) {
+ if ($options{verbose} >= 0 && !$options{justdb}) {
foreach (keys %{$urpm->{readmes}}) {
$urpm->{print}("-" x 70 . "\n" .
N("More information on package %s", $urpm->{readmes}{$_}));