From efe3da7770ba2c006003238741a227b2904175ee Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 14 Feb 2012 20:56:02 +0000 Subject: (install) --test: do not display "More information on package" --- NEWS | 3 +++ urpm/install.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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, -- cgit v1.2.1