From 2d3fd458553d694721de509bcbb6738ee99205ed Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 13 Feb 2020 13:52:12 +0100 Subject: lib/mysql-functions: clean up TODOs --- lib/mysql-functions | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/mysql-functions b/lib/mysql-functions index eb90e72..835d717 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -488,7 +488,6 @@ mysql_generate_package_metadata() { 'pkgrel' printf '@sub_pkgrel,' printf '`architectures`.`id`,' -# TODO: somehow extract the compression from the PKGBUILD (?) printf '%s' \ "${compression_ids__tar_zst}" printf ' FROM `links`' @@ -1286,10 +1285,9 @@ mysql_package_name_query() { printf '`%s`.`pkgrel`,' "${bp_name}" printf 'IF(`%s`.`sub_pkgrel_omitted`,"",CONCAT(".",`%s`.`sub_pkgrel`)),"-",' "${bp_name}" "${bp_name}" printf '`%s`.`name`,".pkg.",' "${a_name}" -# TODO: do we really want to define the default compression this way? printf 'IF(' printf '`%s`.`suffix` IS NULL,' "${c_name}" - printf '"tar.xz",' + printf '"tar.zst",' printf '`%s`.`suffix`' "${c_name}" printf ')' printf ')' -- cgit v1.2.3-70-g09d2