[Dehs-devel] r167 - trunk

atomo64-guest at alioth.debian.org atomo64-guest at alioth.debian.org
Mon Jan 26 00:20:33 UTC 2009


Author: atomo64-guest
Date: 2009-01-26 00:20:32 +0000 (Mon, 26 Jan 2009)
New Revision: 167

Modified:
   trunk/dehs_pg.php
Log:
When doing a time-based update also check the packages that changed since last check


Modified: trunk/dehs_pg.php
===================================================================
--- trunk/dehs_pg.php	2008-12-07 18:42:26 UTC (rev 166)
+++ trunk/dehs_pg.php	2009-01-26 00:20:32 UTC (rev 167)
@@ -497,7 +497,7 @@
 
     $postWHERE = '';
     if ($checkStamps) {
-        $postWHERE = "AND (lastcheck<='".sqldate(time() - ($minimumAge*24*3600))."' OR lastcheck IS NULL)";
+        $postWHERE = "AND (lastcheck<='".sqldate(time() - ($minimumAge*24*3600))."' OR lastcheck IS NULL OR (lastpkgsourcesupdate>lastcheck))";
     }
 
     $postORDER = '';




More information about the Dehs-devel mailing list