[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] r26199: {website} unicorns found by creep.im admin. (website/trunk)



Author: phobos
Date: 2013-05-30 16:53:22 +0000 (Thu, 30 May 2013)
New Revision: 26199

Modified:
   website/trunk/update-mirrors.pl
Log:
unicorns found by creep.im admin.


Modified: website/trunk/update-mirrors.pl
===================================================================
--- website/trunk/update-mirrors.pl	2013-05-28 22:39:35 UTC (rev 26198)
+++ website/trunk/update-mirrors.pl	2013-05-30 16:53:22 UTC (rev 26199)
@@ -41,7 +41,7 @@
 sub FetchDate {
     my $url = shift; # Base url for mirror
     my $trace = "project/trace/www-master.torproject.org"; # this file should always exist
-    $url = "$url$trace";
+    $url = "$url*/*$trace";
 
     print "Fetching possible date from: $url\n";
 
@@ -1168,7 +1168,7 @@
      if ( "$m{$server}{'updateDate'}" ne "Unknown") {
 	  if ( $m{$server}{'updateDate'} > $tortime ) {
 	    $time = "Up to date";
-	  } else { $time = "Out of date"; }
+	  } else { $time = "DO NOT USE. Out of date."; }
      } else { $time = "Unknown"; }
 print OUT <<"END";
      \n<tr>\n
@@ -1184,7 +1184,7 @@
                         rsyncWebsiteMirror => "rsync",
                         httpDistMirror => "http",
                         httpsDistMirror => "https",
-                        rsyncDistMirrors => "rsync", );
+                        rsyncDistMirror => "rsync", );
 
      foreach my $precious ( sort keys %prettyNames )
      {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits