Add package tar to index

This commit is contained in:
Jacob 2023-09-16 16:31:38 +02:00
parent 7f1cbbf3e5
commit 938c3058b1

View file

@ -150,6 +150,9 @@ function main() {
print "\t\t\t<p>You can search for packages using the input box in the navbar. Then you can select a package to view details about it. You can press 'Home' in the navbar to go back to this page, or 'All' to display all available packages.</p>\n";
print "\t\t<h2>Directory listing</h2>\n";
print "\t\t\t<p>See <a href=\"lister.php\">this page</a> for more information.</p>\n";
print "\t\t<h2>Download</h2>\n";
print "\t\t\t<p>If you wish, you can download the full packages/ directory containing all packages, the database and the PHP itself. This may be useful if you want to have a local repository that won't get updated, or you want to contribute back.</p>\n";
print "\t\t\t<p>A tar.gz archive can be found <a href=\"packages/packages.tar.gz\">here</a>.</p>\n";
} else if ($request == "view" && $query != '') {
$packageCount = 0;
$packageVersions = array();