summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-29 01:30:30 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-29 01:30:30 +0000
commit0c582bbec80dc26b77975fba01f0dd87e775d062 (patch)
treeb1805144f5bc767f46df3423423aa4afb1169a48
parent6480ff211a6bed1f4cf10baf6cef2517d6cbca99 (diff)
downloadurpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.tar
urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.tar.gz
urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.tar.bz2
urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.tar.xz
urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.zip
silence log messages from packdrake
-rwxr-xr-xurpmq16
1 files changed, 10 insertions, 6 deletions
diff --git a/urpmq b/urpmq
index 476b8224..04ce482b 100755
--- a/urpmq
+++ b/urpmq
@@ -310,9 +310,11 @@ if ($urpm::args::options{list_aliases}) {
if (-s "$urpm->{statedir}/$urpm->{media}[$_]{hdlist}") {
require packdrake;
my $packer = new packdrake(
- $urpm->{media}[$_]{virtual} ?
- ("$urpm->{media}[$_]{url}/$urpm->{media}[$_]{with_hdlist}" =~ m!^(?:file:/*)?(/[^/].*)!)[0] :
- "$urpm->{statedir}/$urpm->{media}[$_]{hdlist}");
+ $urpm->{media}[$_]{virtual}
+ ? ("$urpm->{media}[$_]{url}/$urpm->{media}[$_]{with_hdlist}" =~ m!^(?:file:/*)?(/[^/].*)!)[0]
+ : "$urpm->{statedir}/$urpm->{media}[$_]{hdlist}",
+ quiet => 1,
+ );
$packer->extract_archive(undef, @headers);
} else {
#- fallback to retrieve rpm package before, so that --headers will be ok.
@@ -338,9 +340,11 @@ if ($urpm::args::options{list_aliases}) {
if (-s "$urpm->{statedir}/$urpm->{media}[$_]{hdlist}") {
require packdrake;
my $packer = new packdrake(
- $urpm->{media}[$_]{virtual} ?
- ("$urpm->{media}[$_]{url}/$urpm->{media}[$_]{with_hdlist}" =~ m!^(?:file:/*)?(/[^/].*)!)[0] :
- "$urpm->{statedir}/$urpm->{media}[$_]{hdlist}");
+ $urpm->{media}[$_]{virtual}
+ ? ("$urpm->{media}[$_]{url}/$urpm->{media}[$_]{with_hdlist}" =~ m!^(?:file:/*)?(/[^/].*)!)[0]
+ : "$urpm->{statedir}/$urpm->{media}[$_]{hdlist}",
+ quiet => 1,
+ );
$packer->extract_archive($< == 0 ? "$urpm->{cachedir}/headers" : $tmp_header_dir, @headers);
} elsif (!%downloads) {
#- fallback to retrieve rpm package before, so that --headers will be ok.