diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/download.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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", "-") : |