Author: schoenfeld
Date: 2008-12-03 14:55:35 +0000 (Wed, 03 Dec 2008)
New Revision: 1750

Modified:
   trunk/debian/changelog
   trunk/scripts/dget.pl
Log:
dget: Fix misspelt wget option (should be --no-cache instead of --no-chache)
(Closes: #507672)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-12-02 22:00:03 UTC (rev 1749)
+++ trunk/debian/changelog      2008-12-03 14:55:35 UTC (rev 1750)
@@ -23,8 +23,12 @@
   [ Christoph Berg ]
   * rmadison: Add debug.debian.net.
 
- -- Christoph Berg <[EMAIL PROTECTED]>  Thu, 20 Nov 2008 13:23:19 +0100
+  [ Patrick Schoenfeld ]
+  * dget: Fix misspelt wget option (should be --no-cache instead of 
--no-chache)
+    (Closes: #507672)
 
+ -- Patrick Schoenfeld <[EMAIL PROTECTED]>  Wed, 03 Dec 2008 15:54:07 +0100
+
 devscripts (2.10.41) unstable; urgency=low
 
   [ Patrick Schoenfeld ]

Modified: trunk/scripts/dget.pl
===================================================================
--- trunk/scripts/dget.pl       2008-12-02 22:00:03 UTC (rev 1749)
+++ trunk/scripts/dget.pl       2008-12-03 14:55:35 UTC (rev 1750)
@@ -116,7 +116,7 @@
     push @cmd, "-f", "-L" if $wget eq "curl";
     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-chache" : ("--header", "Pragma: 
no-cache")) if $opt->{'no-cache'};
+    push @cmd, ($wget eq "wget" ? "--no-cache" : ("--header", "Pragma: 
no-cache")) if $opt->{'no-cache'};
     push @cmd, ($wget eq "wget" ? "-O" : "-o");
     system @cmd, $file, $url;
     return $? >> 8;



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to