summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-03-11 11:24:49 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-03-11 11:24:49 +0100
commita3f7fff82e1639e3b703399561285d15a7d7b185 (patch)
tree5035db62beac8fdd3eabbcbb66a7ab4714468231
parente0db827b8649d0f808eac1dd74956ab77a1e1b99 (diff)
* apt-pkg/acquire-item.cc:
- mark pkgAcqIndexTrans as Index-File to avoid asking the user to insert the CD on each apt-get update
-rw-r--r--apt-pkg/acquire-item.cc4
-rw-r--r--debian/changelog5
2 files changed, 7 insertions, 2 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index d4df31e85..497edbaac 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -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 /*{{{*/
diff --git a/debian/changelog b/debian/changelog
index f288c1b56..6176aa87e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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