diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-06-15 23:47:07 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-06-20 10:53:58 +0200 |
commit | 0aec7d5c2f6fd55301bd1e1ed35ab7a23fd2357e (patch) | |
tree | 359481daa95d613a700b3fb53b0ede40cca0c1dc /apt-pkg/sourcelist.cc | |
parent | bf3daa15e9e744d9481d9e6d1e250b77d1f7b256 (diff) |
do not redownload unchanged InRelease files
Before we download the 'new' InRelease file the old file will be moved
out of the way with the name 'foobar_InRelease.reverify', so if no
partial file for the 'new' file exists take the modification time from
this reverify file, so that if we get an IMS hit for the InRelease file
we can move back the reverify file as new file rather than downloading
the 'new' file even though we already have it.
We do the same for Release files and this happened to work until the
reverify renaming was corrected for InRelease files.
Diffstat (limited to 'apt-pkg/sourcelist.cc')
0 files changed, 0 insertions, 0 deletions