From e185c0c4d3fff5cc5de297a38f4b7d9d55f29ae0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 3 Jan 2020 14:18:23 +0100 Subject: pkginfo.php: add compression suffix from the database --- packages/pkginfo.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages/pkginfo.php') diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 5e3b832..b4dce77 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -79,6 +79,7 @@ require_once BASE . "/lib/style.php"; "`repositories`.`name` AS `repo`," . "`r_a`.`name` AS `repo_arch`," . "`architectures`.`name` AS `arch`," . + "`compressions`.`suffix`," . "`git_repositories`.`name` AS `git_repo`," . "`package_sources`.`uses_upstream`," . "`package_sources`.`uses_modification`," . @@ -86,6 +87,7 @@ require_once BASE . "/lib/style.php"; "`sr`.`name` AS `stable_repo`" . " FROM `binary_packages`" . mysql_join_binary_packages_architectures() . + mysql_join_binary_packages_compressions() . mysql_join_binary_packages_binary_packages_in_repositories() . mysql_join_binary_packages_in_repositories_repositories() . mysql_join_repositories_repository_stabilities() . @@ -455,8 +457,8 @@ require_once BASE . "/lib/style.php";
  • .pkg.tar.xz" rel="nofollow" title="Download from mirror">Download From Mirror + print $content["repo_arch"]."/".$content["repo"]."/".$content["pkgname"]."-".$content["version"]."-".$content["arch"].".pkg.".$content["suffix"]; +?>" rel="nofollow" title="Download from mirror">Download From Mirror
  • -- cgit v1.2.3-70-g09d2