summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-11 14:35:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-11 14:35:17 +0000
commitd698955cce0fcf0134584e9f1ff6711010838e95 (patch)
tree68a51f0cf25d79e7ad897a8949afb70b3141200a
parent1b88a427f63a9129b245749c4ea5759aa8e619d7 (diff)
downloadurpmi-d698955cce0fcf0134584e9f1ff6711010838e95.tar
urpmi-d698955cce0fcf0134584e9f1ff6711010838e95.tar.gz
urpmi-d698955cce0fcf0134584e9f1ff6711010838e95.tar.bz2
urpmi-d698955cce0fcf0134584e9f1ff6711010838e95.tar.xz
urpmi-d698955cce0fcf0134584e9f1ff6711010838e95.zip
Don't use "verbose" setting in urpm::download API
-rw-r--r--urpm.pm1
-rw-r--r--urpm/download.pm2
2 files changed, 1 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index aaa091e2..032bc494 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2798,7 +2798,6 @@ sub download_packages_of_distant_media {
{
dir => "$urpm->{cachedir}/partial",
quiet => 0,
- verbose => $options{verbose},
limit_rate => $options{limit_rate},
resume => $options{resume},
compress => $options{compress},
diff --git a/urpm/download.pm b/urpm/download.pm
index 6b5c2980..d18f0395 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -344,7 +344,7 @@ sub sync_curl {
($options->{resume} ? ("--continue-at", "-") : ()),
($options->{proxy} ? set_proxy({ type => "curl", proxy => $options->{proxy} }) : ()),
($options->{retry} ? ('--retry', $options->{retry}) : ()),
- ($options->{quiet} && !$options->{verbose} ? "-s" : @{[]}),
+ ($options->{quiet} ? "-s" : @{[]}),
"-k",
$location_trusted ? "--location-trusted" : @{[]},
"-R",