diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 8d77b979..a323984f 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -1,5 +1,6 @@ \n"; print " "; if ($row["LocationID"] == 2) { - print "".__("Tarball")." :: ".__("Files")." :: PKGBUILD"; + global $URL_DIR; + $urlpath = $URL_DIR.$row["Name"]."/".$row["Name"]; + print "".__("Tarball")." :: ".__("Files")." :: PKGBUILD"; } elseif ($row["LocationID"] == 3) { print "CVS"; }