summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-14 20:56:02 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-14 20:56:02 +0000
commitefe3da7770ba2c006003238741a227b2904175ee (patch)
treea012475e36a81c70e589248b191f66e2bbc640f5
parentf14f6faa7d6dc511373e81c52d54e46171bd460a (diff)
downloadurpmi-efe3da7770ba2c006003238741a227b2904175ee.tar
urpmi-efe3da7770ba2c006003238741a227b2904175ee.tar.gz
urpmi-efe3da7770ba2c006003238741a227b2904175ee.tar.bz2
urpmi-efe3da7770ba2c006003238741a227b2904175ee.tar.xz
urpmi-efe3da7770ba2c006003238741a227b2904175ee.zip
(install) --test: do not display "More information on package"
-rw-r--r--NEWS3
-rw-r--r--urpm/install.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 04bfa162..b9fba4dd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmi:
+ o --test: do not display "More information on package"
+
Version 6.44 - 07 February 2012
- fix package count when using -a and when some packages exist in several
diff --git a/urpm/install.pm b/urpm/install.pm
index 1ec5080d..4d58efdc 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -239,7 +239,7 @@ sub install {
my ($urpm, undef, $pkgid) = @_;
return unless defined $pkgid;
$callback_close_helper and $callback_close_helper->($db, @_);
- get_README_files($urpm, $trans, $urpm->{depslist}[$pkgid]);
+ get_README_files($urpm, $trans, $urpm->{depslist}[$pkgid]) if !$options{test};
close $fh if defined $fh;
};
#- ensure perl does not create a circular reference below, otherwise all this won't be collected,