]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexcopy.cc
methods/mirror.cc: improve debug output and fix selecting the next mirror
[apt.git] / apt-pkg / indexcopy.cc
index f88d51fc54d31efcdb380763fc9386bfe9e1b83a..c2ee1c34726f70de4d73ea055ed69726fbb340cb 100644 (file)
@@ -722,7 +722,8 @@ bool SigVerify::RunGPGV(std::string const &File, std::string const &FileGPG,
    }
 
    Args.push_back(FileGPG.c_str());
-   Args.push_back(File.c_str());
+   if (FileGPG != File)
+      Args.push_back(File.c_str());
    Args.push_back(NULL);
 
    if (Debug == true)