summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-13 13:52:12 +0100
committerErich Eckner <git@eckner.net>2020-02-13 13:52:12 +0100
commit2d3fd458553d694721de509bcbb6738ee99205ed (patch)
treecb847eec1ccfd7559198190c2b22ca10d36a5cdd /lib
parent7eeef3817dcff461683301ddac811dc3d08cf3e7 (diff)
downloadbuilder-2d3fd458553d694721de509bcbb6738ee99205ed.tar.xz
lib/mysql-functions: clean up TODOs
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions4
1 files changed, 1 insertions, 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 ')'