]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
cherry pick -r1847 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/
[apt.git] / apt-pkg / acquire-item.cc
index ddd3300f91b50b12dc0532c20c86b41b0a0be439..665dd427ef68af3075ed58b899abcd2d1d851dee 100644 (file)
@@ -1241,8 +1241,7 @@ void pkgAcqMetaIndex::Done(string Message,unsigned long long Size,string Hash,    /
          // if we expect a ClearTextSignature (InRelase), ensure that
          // this is what we get and if not fail to queue a 
          // Release/Release.gpg, see #346386
-         if (SigFile == DestFile && 
-             !IsPgpClearTextSignature(DestFile))
+         if (SigFile == DestFile && !StartsWithGPGClearTextSignature(DestFile))
          {
             Failed(Message, Cfg);
             return;