diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2023-01-28 09:51:32 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2023-01-28 09:56:24 +0000 |
commit | fbb72b53a473e81efbf14a3c7886f077f0e3afb8 (patch) | |
tree | ead2007659923e6cb388b082bf9320f084a9c895 | |
parent | 53ba9437f9772bd2e37c048882d94f3ab039de6c (diff) | |
download | urpmi-fbb72b53a473e81efbf14a3c7886f077f0e3afb8.tar urpmi-fbb72b53a473e81efbf14a3c7886f077f0e3afb8.tar.gz urpmi-fbb72b53a473e81efbf14a3c7886f077f0e3afb8.tar.bz2 urpmi-fbb72b53a473e81efbf14a3c7886f077f0e3afb8.tar.xz urpmi-fbb72b53a473e81efbf14a3c7886f077f0e3afb8.zip |
Force timestamping=off when using wget to avoid conflict with --force-clobber
As seen on discuss@ml.mageia.org, if the user has set timestamping=on
in /etc/wgetrc, wget fails due to conflicting options.
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | urpm/download.pm | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- library: + o force timestamping=off when using wget to avoid conflict with --force-clobber + Version 8.129 - 21 January 2023 - library: diff --git a/urpm/download.pm b/urpm/download.pm index e09bb854..302ccc4f 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -346,6 +346,7 @@ sub sync_wget { "/usr/bin/wget", ($options->{'limit-rate'} ? "--limit-rate=$options->{'limit-rate'}" : @{[]}), ($options->{resume} ? "--continue" : "--force-clobber"), + "--no-timestamping", #- timestamping conflicts with --force-clobber ($options->{proxy} ? set_proxy({ type => "wget", proxy => $options->{proxy} }) : @{[]}), ($options->{retry} ? ('-t', $options->{retry}) : @{[]}), ($options->{callback} ? ("--progress=bar:force", "-o", "-") : |