summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php6
1 files changed, 4 insertions, 2 deletions
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";
</li>
<li>
<a href="http://pool.mirror.archlinux32.org/<?php
- print $content["repo_arch"]."/".$content["repo"]."/".$content["pkgname"]."-".$content["version"]."-".$content["arch"];
-?>.pkg.tar.xz" rel="nofollow" title="Download <?php print $content["pkgname"]; ?> from mirror">Download From Mirror</a>
+ print $content["repo_arch"]."/".$content["repo"]."/".$content["pkgname"]."-".$content["version"]."-".$content["arch"].".pkg.".$content["suffix"];
+?>" rel="nofollow" title="Download <?php print $content["pkgname"]; ?> from mirror">Download From Mirror</a>
</li>
</ul>
</div>