summaryrefslogtreecommitdiff
path: root/apt-pkg/indexcopy.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-09-23 17:26:43 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-09-23 17:26:43 +0200
commitf98233c1b1e93ef1bb595bfc6e59c74d9e05eb6a (patch)
tree82d6aa3ff7c2c2e6d073ff39f09e52aa7407562d /apt-pkg/indexcopy.cc
parenta69a3a044be84f72508fb468cdf13d9e5f724dd4 (diff)
parentf7d6459db697c6dbba8e5d787a817e7721bfb577 (diff)
merged from debian
Diffstat (limited to 'apt-pkg/indexcopy.cc')
-rw-r--r--apt-pkg/indexcopy.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc
index 15696585a..0142d7dbe 100644
--- a/apt-pkg/indexcopy.cc
+++ b/apt-pkg/indexcopy.cc
@@ -592,7 +592,10 @@ bool SigVerify::CopyAndVerify(string CDROM,string Name,vector<string> &SigList,
// a Release.gpg without a Release should never happen
if(!FileExists(*I+"Release"))
+ {
+ delete MetaIndex;
continue;
+ }
// verify the gpg signature of "Release"