diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-09-29 01:30:30 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-09-29 01:30:30 +0000 |
commit | 0c582bbec80dc26b77975fba01f0dd87e775d062 (patch) | |
tree | b1805144f5bc767f46df3423423aa4afb1169a48 | |
parent | 6480ff211a6bed1f4cf10baf6cef2517d6cbca99 (diff) | |
download | urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.tar urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.tar.gz urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.tar.bz2 urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.tar.xz urpmi-0c582bbec80dc26b77975fba01f0dd87e775d062.zip |
silence log messages from packdrake
-rwxr-xr-x | urpmq | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -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. |