From: Michael Vogt Date: Fri, 3 Sep 2010 18:49:09 +0000 (+0200) Subject: apt-pkg/indexcopy.cc: include trustedFile (if it exists) X-Git-Tag: 0.8.3~3^2~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/3d661e4aa122dedcf830062f34b1db18cb45fc59 apt-pkg/indexcopy.cc: include trustedFile (if it exists) --- diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc index fb33ed461..0abbf63de 100644 --- a/apt-pkg/indexcopy.cc +++ b/apt-pkg/indexcopy.cc @@ -675,11 +675,9 @@ bool SigVerify::RunGPGV(std::string const &File, std::string const &FileGPG, std::vector keyrings; if (DirectoryExists(trustedPath)) - { - keyrings = GetListOfFilesInDir(trustedPath, "gpg", false, true); - if (FileExists(trustedFile) == true) - keyrings.push_back(trustedFile); - } + keyrings = GetListOfFilesInDir(trustedPath, "gpg", false, true); + if (FileExists(trustedFile) == true) + keyrings.push_back(trustedFile); std::vector Args; Args.reserve(30);