Make HTTP links to the `Long description' file. A ftp connection for a

short single file is an overkill and slow.

Reviewed by:	John Fieber
This commit is contained in:
Wolfram Schneider 1997-04-25 13:44:50 +00:00
parent 1b7847cb53
commit 0843c0fe01
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=1442
2 changed files with 4 additions and 2 deletions

View file

@ -9,6 +9,7 @@
# This is the base of where we ftp stuff from
$base = "ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current";
$baseHTTP = "http://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current";
$today = &getdate;
@ -67,7 +68,7 @@ sub main {
# figure out the FTP url
$loc =~ s/\/usr/$base/;
$ldesc =~ s/\/usr/$base/;
$ldesc =~ s/\/usr/$baseHTTP/;
# The name description and maintainer
$data{$i} .= "<DT><B><A NAME=\"$name\"></A><A HREF=\"$loc.tar.gz\">$name</A></B> ";

View file

@ -9,6 +9,7 @@
# This is the base of where we ftp stuff from
$base = "ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current";
$baseHTTP = "http://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current";
$today = &getdate;
@ -67,7 +68,7 @@ sub main {
# figure out the FTP url
$loc =~ s/\/usr/$base/;
$ldesc =~ s/\/usr/$base/;
$ldesc =~ s/\/usr/$baseHTTP/;
# The name description and maintainer
$data{$i} .= "<DT><B><A NAME=\"$name\"></A><A HREF=\"$loc.tar.gz\">$name</A></B> ";