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:
authorErich Eckner <git@eckner.net>2020-02-12 09:44:49 +0100
committerErich Eckner <git@eckner.net>2020-02-12 09:44:49 +0100
commit9bc811610d23ea27a8aee8d8c4f3b1e54ee233d7 (patch)
treecaaf52959ea14fbf7e7221bfa11cba8a3bbe05fa /packages/pkginfo.php
parentcd993f0b0698e57db7ae7f395d65f1ade81d8e0f (diff)
packages/pkginfo.php: add default-compression-suffix "xz"
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() .