index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-02-13 13:52:12 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-13 13:52:12 +0100 |
commit | 2d3fd458553d694721de509bcbb6738ee99205ed (patch) | |
tree | cb847eec1ccfd7559198190c2b22ca10d36a5cdd /lib/mysql-functions | |
parent | 7eeef3817dcff461683301ddac811dc3d08cf3e7 (diff) |
-rwxr-xr-x | lib/mysql-functions | 4 |
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 ')' |