Package: devscripts
Version: 2.10.69
Tags: patch
Please preserve timestamps in the dget script. I'm using the patch
below to pass the -N option to wget. I don't know the corresponding
option for curl.
--- /usr/bin/dget~ 2010-10-21 23:05:30.000000000 +1100
+++ /usr/bin/dget 2011-02-11 18:56:04.000000000 +1100
@@ -115,6 +115,7 @@ sub wget {
# curl does not follow document moved headers, and does not exit
# with a non-zero error code by default if a document is not found
push @cmd, "-f", "-L" if $wget eq "curl";
+ push @cmd, "-N" if $wget eq "wget";
push @cmd, ($wget eq "wget" ? "-nv" : ("-s", "-S")) if $opt->{'quiet'};
push @cmd, ($wget eq "wget" ? "--no-check-certificate" : "--insecure") if
$opt->{'insecure'};
push @cmd, ($wget eq "wget" ? "--no-cache" : ("--header", "Pragma:
no-cache")) if $opt->{'no-cache'};
--
To unsubscribe, send mail to [email protected].