]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcachegen.cc
* test/integration/test-hashsum-verification:
[apt.git] / apt-pkg / pkgcachegen.cc
index 3c21b2442c69ff2a7cf43402c56703bd8eda8648..49a7f7adc0d24859b7290d071e66e4493eefffff 100644 (file)
@@ -936,7 +936,7 @@ static bool CheckValidity(const string &CacheFile,
       return false;
    }
 
-   if (List.GetLastModifiedTime() < GetModificationTime(CacheFile))
+   if (List.GetLastModifiedTime() > GetModificationTime(CacheFile))
    {
       if (Debug == true)
         std::clog << "sources.list is newer than the cache" << std::endl;