Просмотр исходного кода

apt-pkg/pkgcachegen.cc: fix incorrect test for modification time

Michael Vogt лет назад: 15
Родитель
Сommit
96d14a91ce
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apt-pkg/pkgcachegen.cc

+ 1 - 1
apt-pkg/pkgcachegen.cc

@@ -935,7 +935,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;