Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages/pkginfo.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pkginfo.php')
-rw-r--r--packages/pkginfo.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index b4dce77..096d32a 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -79,7 +79,7 @@ require_once BASE . "/lib/style.php";
"`repositories`.`name` AS `repo`," .
"`r_a`.`name` AS `repo_arch`," .
"`architectures`.`name` AS `arch`," .
- "`compressions`.`suffix`," .
+ "IFNULL(`compressions`.`suffix`,\"xz\") AS `suffix`," .
"`git_repositories`.`name` AS `git_repo`," .
"`package_sources`.`uses_upstream`," .
"`package_sources`.`uses_modification`," .
@@ -87,6 +87,7 @@ require_once BASE . "/lib/style.php";
"`sr`.`name` AS `stable_repo`" .
" FROM `binary_packages`" .
mysql_join_binary_packages_architectures() .
+ " LEFT" .
mysql_join_binary_packages_compressions() .
mysql_join_binary_packages_binary_packages_in_repositories() .
mysql_join_binary_packages_in_repositories_repositories() .