From 089cbcdf1c5cedcb4157cdd164ee7510139c1904 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 3 Jan 2020 13:12:51 +0100 Subject: lib/mysql-functions: zst is the new default compression --- lib/mysql-functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/mysql-functions') 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" -- cgit v1.2.3-70-g09d2