diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-08-08 16:14:13 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-08-08 16:14:13 +0200 |
commit | 96d14a91ce56150040d9c21cdce381cedc4c2518 (patch) | |
tree | 0476145e16bba19b553e60eeccdade6452b40aa9 /apt-pkg/pkgcachegen.cc | |
parent | 3568a640bd363409cdeb1cb69eaa3261c79f2ff2 (diff) |
apt-pkg/pkgcachegen.cc: fix incorrect test for modification time
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
-rw-r--r-- | apt-pkg/pkgcachegen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index 2bfb77609..7539e1b94 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/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; |