summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS2
-rw-r--r--urpm/download.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4cc0b2f1..e6834437 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@
- urpmf
o bug fix -m (#31452)
- 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 !)
o hide rsync errors by default to hide false positives,
but allow getting them with --debug
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", "-") :