From b78a20c3359fab4cf042e6e5e56bb9d5d3c0449a Mon Sep 17 00:00:00 2001 From: pjmattal Date: Sun, 10 Apr 2005 02:19:19 +0000 Subject: fixed bugs in tupkgupdate made link to CVS for package files in community go to CURRENT tag --- web/lib/pkgfuncs.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'web') diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index b5428dde..365f05ac 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -323,7 +323,11 @@ function package_details($id=0) { print "\n"; print "\n"; print " "; - print "Tarball :: Files"; + if ($row["LocationID"] == 2) { + print "Tarball :: Files"; + } elseif ($row["LocationID"] == 3) { + print "CVS"; + } print "\n"; print "\n"; print " "; -- cgit v1.2.3-24-g4f1b