From 29695e5cfd46edd262133dea07b1a116f2a8cba9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 18 Jun 2007 16:54:47 +0000 Subject: - 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) --- urpm/download.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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", "-") : -- cgit v1.2.1