summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-18 16:54:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-18 16:54:47 +0000
commit29695e5cfd46edd262133dea07b1a116f2a8cba9 (patch)
tree9b975f57552f1959f77da24be88ef93a45cd8080 /urpm/download.pm
parent5dd73a30cf61cbe016c60c25bcd2d3e66b34cb14 (diff)
downloadurpmi-29695e5cfd46edd262133dea07b1a116f2a8cba9.tar
urpmi-29695e5cfd46edd262133dea07b1a116f2a8cba9.tar.gz
urpmi-29695e5cfd46edd262133dea07b1a116f2a8cba9.tar.bz2
urpmi-29695e5cfd46edd262133dea07b1a116f2a8cba9.tar.xz
urpmi-29695e5cfd46edd262133dea07b1a116f2a8cba9.zip
- all tools
o 4.9.26 is broken when downloading with wget since it creates hdlist.cz.1 files. fixing using --force-clobber option (! need a patched wget !) (need wget 1.10.2-6mdv2008.0)
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 3fa605ce..79707205 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -233,7 +233,7 @@ sub sync_wget {
#- construction of the wget command-line
"/usr/bin/wget",
($options->{limit_rate} ? "--limit-rate=$options->{limit_rate}" : ()),
- ($options->{resume} ? "--continue" : ()),
+ ($options->{resume} ? "--continue" : "--force-clobber"),
($options->{proxy} ? set_proxy({ type => "wget", proxy => $options->{proxy} }) : ()),
($options->{retry} ? ('-t', $options->{retry}) : ()),
($options->{callback} ? ("--progress=bar:force", "-o", "-") :