summaryrefslogtreecommitdiff
path: root/apt-pkg/indexcopy.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-08-27 14:16:07 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-08-27 14:16:07 +0200
commitfe58cbc86638e214fa137166a704fbff798c546a (patch)
treefcd445921d800462a2dab16db2951024440d4956 /apt-pkg/indexcopy.cc
parentf30eb61fde728f125bf7c673cadc17f43d82a2d0 (diff)
parent8c75bf9e9558d062a5f3d1fe5276aeffba6403a0 (diff)
merged from lp:~donkult/apt/sid
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"