diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-11-13 02:29:46 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-02-22 16:53:45 +0100 |
commit | 8b32b53b58889488aafee8df82e87a6ed86e4848 (patch) | |
tree | 023ed8d16b607926040fa6fbedb103ceb7d0dcef /apt-pkg/statechanges.h | |
parent | 4ea646933c5f829d698705dc3100cbc51210ac35 (diff) |
get pdiff files from the same mirror as the index
In ad9416611ab83f7799f2dcb4bf7f3ef30e9fe6f8 we fall back to asking the
original mirror (e.g. a redirector) if we do not get the expected
result. This works for the indexes, but patches are a different beast
and much simpler. Adding this fallback code here seems like overkill as
they are usually right along their Index file, so actually forward the
relevant settings to the patch items which fixes pdiff support combined
with a redirector and partial mirrors as in such a situation the pdiff
patches would be 404 and the complete index would be downloaded.
(cherry picked from commit 5832913a49d4f7c75527264a935cc0ce00627f1d)
Diffstat (limited to 'apt-pkg/statechanges.h')
0 files changed, 0 insertions, 0 deletions