Deal with yet another .tgz -> .tbz leftover. This should resurrect
the package links in the FreeBSD ports pages.
This commit is contained in:
parent
ade023a557
commit
eafd7e2067
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=14223
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# by John Fieber <jfieber@freebsd.org>
|
||||
# Mon May 13 10:31:58 EST 1996
|
||||
# $FreeBSD: www/en/ports/portindex,v 1.42 2001/10/24 17:38:49 phantom Exp $
|
||||
# $FreeBSD: www/en/ports/portindex,v 1.43 2002/03/16 08:01:32 murray Exp $
|
||||
|
||||
############################################################
|
||||
|
||||
|
@ -152,7 +152,9 @@ sub main {
|
|||
|
||||
|
||||
$data{$i} .= "<DD>$desc<BR><A HREF=\"$ldesc\">Long description</A>";
|
||||
if ($packages{"$name.tgz"}) {
|
||||
if ($packages{"$name.tbz"}) {
|
||||
$data{$i} .= qq{ | <a href="$packagesURL$name.tbz">Package</a>};
|
||||
} elsif ($packages{"$name.tgz"}) {
|
||||
$data{$i} .= qq{ | <a href="$packagesURL$name.tgz">Package</a>};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue