diff options
author | Erich Eckner <git@eckner.net> | 2020-02-12 09:44:49 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-12 09:44:49 +0100 |
commit | 9bc811610d23ea27a8aee8d8c4f3b1e54ee233d7 (patch) | |
tree | caaf52959ea14fbf7e7221bfa11cba8a3bbe05fa /packages | |
parent | cd993f0b0698e57db7ae7f395d65f1ade81d8e0f (diff) | |
download | archweb32-9bc811610d23ea27a8aee8d8c4f3b1e54ee233d7.tar.xz |
packages/pkginfo.php: add default-compression-suffix "xz"
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pkginfo.php | 3 |
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() . |