diff options
author | Erich Eckner <git@eckner.net> | 2020-01-03 13:12:51 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-03 13:12:51 +0100 |
commit | 089cbcdf1c5cedcb4157cdd164ee7510139c1904 (patch) | |
tree | a927fde15e6d173fa2f8cd91ec9da1f54108b234 /lib/mysql-functions | |
parent | 717c155c53d6b164dd0ee756f3e8fc363f0e064c (diff) | |
download | builder-089cbcdf1c5cedcb4157cdd164ee7510139c1904.tar.xz |
lib/mysql-functions: zst is the new default compression
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-x | lib/mysql-functions | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index ea7b547..20fbbcc 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -476,7 +476,7 @@ mysql_generate_package_metadata() { printf '`architectures`.`id`,' # TODO: somehow extract the compression from the PKGBUILD (?) printf '%s' \ - "${compression_ids__tar_xz}" + "${compression_ids__tar_zst}" printf ' FROM `links`' printf ' JOIN `architectures`' printf ' ON `links`.`architecture`=`architectures`.`name`' @@ -711,7 +711,7 @@ mysql_sanity_check() { for dir in $(ls_master_mirror "${arch}"); do ls_master_mirror "${arch}/${dir}" | \ sed ' - /\.pkg\.tar\.xz$/!d + /\.pkg\.tar\.zst$/!d s|^|'"${arch}"'/'"${dir}"'/| ' done @@ -751,7 +751,7 @@ mysql_sanity_check() { # shellcheck disable=SC2041 ls_master_mirror 'pool' | \ sed ' - /\.pkg\.tar\.xz\(\.sig\)\?$/ !d + /\.pkg\.tar\.zst\(\.sig\)\?$/ !d ' | \ sort -u > \ "${temp_dir}/master-mirror-pool" |