diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-10-29 12:38:50 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-04 18:04:05 +0100 |
commit | 3d1e34b0be262a611ae91a2c24b0f99de9671faf (patch) | |
tree | 8f0d29c7ddeae28bf9f7fc3eb9830d3b68bb7394 /apt-pkg/acquire-item.cc | |
parent | 8561c2fedae26aecd8ba758a5e7ef686ba1243f3 (diff) |
do not cleanup .diff/Index files on Hit
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r-- | apt-pkg/acquire-item.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 5fda1439c..b5478e9a7 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -1114,6 +1114,9 @@ void pkgAcqMetaBase::QueueIndexes(bool const verify) /*{{{*/ if (filename.empty() == false) { new NoActionItem(Owner, *Target, filename); + std::string const idxfilename = GetFinalFileNameFromURI(Target->URI + ".diff/Index"); + if (FileExists(idxfilename)) + new NoActionItem(Owner, *Target, idxfilename); continue; } |