If --timestamping was set in .wgetrc, wget fails, because it is unable to
handle --timestamping and -O simultaneously (for no apparent reason, but
the maintainers have decided that this bug has graduated to a feature,
see https://savannah.gnu.org/bugs/?22896).
Thanks to Ville Skytta for pointing that out.
DL="curl -o $DEST.new $SRC"
${quiet} && DL="$DL -s -S"
elif which wget >/dev/null 2>&1 ; then
- DL="wget -O $DEST.new $SRC"
+ DL="wget --no-timestamping -O $DEST.new $SRC"
${quiet} && DL="$DL -q"
elif which lynx >/dev/null 2>&1 ; then
DL="eval lynx -source $SRC >$DEST.new"