From: David Kalnischkies Date: Thu, 29 Oct 2015 11:38:50 +0000 (+0100) Subject: do not cleanup .diff/Index files on Hit X-Git-Tag: 1.1_exp15~16 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/3d1e34b0be262a611ae91a2c24b0f99de9671faf do not cleanup .diff/Index files on Hit Git-Dch: Ignore --- 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; }