* apt-pkg/acquire-item.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 11 Mar 2011 10:24:49 +0000 (11:24 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 11 Mar 2011 10:24:49 +0000 (11:24 +0100)
  - mark pkgAcqIndexTrans as Index-File to avoid asking the
    user to insert the CD on each apt-get update

apt-pkg/acquire-item.cc
debian/changelog

index d4df31e..497edba 100644 (file)
@@ -1002,8 +1002,8 @@ string pkgAcqIndexTrans::Custom600Headers()
 
    struct stat Buf;
    if (stat(Final.c_str(),&Buf) != 0)
-      return "\nFail-Ignore: true";
-   return "\nFail-Ignore: true\nLast-Modified: " + TimeRFC1123(Buf.st_mtime);
+      return "\nFail-Ignore: true\nIndex-File: true";
+   return "\nFail-Ignore: true\nIndex-File: true\nLast-Modified: " + TimeRFC1123(Buf.st_mtime);
 }
                                                                        /*}}}*/
 // AcqIndexTrans::Failed - Silence failure messages for missing files  /*{{{*/
index f288c1b..6176aa8 100644 (file)
@@ -6,6 +6,11 @@ apt (0.8.13) unstable; urgency=low
   * methods/rsh.cc
     - fix rsh/ssh option parsing (LP: #678080), thanks to
       Ville Mattila 
+  
+  [ Michael Vogt ]
+  * apt-pkg/acquire-item.cc:
+    - mark pkgAcqIndexTrans as Index-File to avoid asking the
+      user to insert the CD on each apt-get update
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 10 Mar 2011 15:56:54 +0100