Skip to content
Browse files

Now syncing 00whois.xml if it's more than a day old.

  • Loading branch information...
1 parent 21d534c commit 4b0d51f5e3fcb31d15e6d5980a3741ae8561df33 @shlomif shlomif committed Jul 21, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 tmp/index.pl
View
2 tmp/index.pl
@@ -47,7 +47,7 @@
print "Fetching Authors...\n";
-if (! -e $authors_xml_fn)
+if ((! -e $authors_xml_fn) || ((-M $authors_xml_fn) >= 1))
{
getstore("http://www.cpan.org/authors/00whois.xml", $authors_xml_fn);
}

0 comments on commit 4b0d51f

Please sign in to comment.
Something went wrong with that request. Please try again.