From 9bc811610d23ea27a8aee8d8c4f3b1e54ee233d7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 12 Feb 2020 09:44:49 +0100 Subject: packages/pkginfo.php: add default-compression-suffix "xz" --- packages/pkginfo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/pkginfo.php') 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() . -- cgit v1.2.3-70-g09d2