Browse Source

* apt-pkg/deb/debmetaindex.cc:

- add missing "Release" file uri when apt-get update --print-uris
    is run
tags/debian/0.7.21
Michael Vogt 14 years ago
parent
commit
8f9b141f86
2 changed files with 12 additions and 0 deletions
  1. +9
    -0
      apt-pkg/deb/debmetaindex.cc
  2. +3
    -0
      debian/changelog

+ 9
- 0
apt-pkg/deb/debmetaindex.cc View File

@@ -146,7 +146,16 @@ bool debReleaseIndex::GetIndexes(pkgAcquire *Owner, bool GetAll) const
new pkgAcqIndex(Owner, (*Target)->URI, (*Target)->Description,
(*Target)->ShortDesc, HashString());
}
// this is normally created in pkgAcqMetaSig, but if we run
// in --print-uris mode, we add it here
new pkgAcqMetaIndex(Owner, MetaIndexURI("Release"),
MetaIndexInfo("Release"), "Release",
MetaIndexURI("Release.gpg"),
ComputeIndexTargets(),
new indexRecords (Dist));

}

new pkgAcqMetaSig(Owner, MetaIndexURI("Release.gpg"),
MetaIndexInfo("Release.gpg"), "Release.gpg",
MetaIndexURI("Release"), MetaIndexInfo("Release"), "Release",


+ 3
- 0
debian/changelog View File

@@ -18,6 +18,9 @@ apt (0.7.11) UNRELEASED; urgency=low
on amd64 in sbuild
* apt-pkg/algorithms.cc:
- add APT::Update::Post-Invoke-Success script slot
* apt-pkg/deb/debmetaindex.cc:
- add missing "Release" file uri when apt-get update --print-uris
is run

-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 10 Jan 2008 12:06:12 +0100



Loading…
Cancel
Save