httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@locus.apache.org
Subject cvs commit: apache-site/mirrors mirgen.pl
Date Thu, 28 Dec 2000 00:56:08 GMT
ask         00/12/27 16:56:08

  Modified:    mirrors  mirgen.pl
  Log:
  better point to the /dist/ directory than to the foundation pages for
  http. (ftp mirrors are already like that (or should be)).
  
  Revision  Changes    Path
  1.3       +7 -0      apache-site/mirrors/mirgen.pl
  
  Index: mirgen.pl
  ===================================================================
  RCS file: /home/cvs/apache-site/mirrors/mirgen.pl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mirgen.pl	2000/12/28 00:49:41	1.2
  +++ mirgen.pl	2000/12/28 00:56:08	1.3
  @@ -14,6 +14,13 @@
           url     => $url,
           contact => $contact
        );
  +
  +  $url .= "/" unless $url =~ m!/$!;
  +
  +  if ($type eq "http") {
  +    $url .= "dist/";
  +  }
  +
     push @{$mirrors{http}}, \%entry if ($type eq "http");
     push @{$mirrors{ftp}}, \%entry if ($type eq "ftp");
   }
  
  
  

Mime
View raw message