Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-03 13:12:51 +0100
committerErich Eckner <git@eckner.net>2020-01-03 13:12:51 +0100
commit089cbcdf1c5cedcb4157cdd164ee7510139c1904 (patch)
treea927fde15e6d173fa2f8cd91ec9da1f54108b234
parent717c155c53d6b164dd0ee756f3e8fc363f0e064c (diff)
lib/mysql-functions: zst is the new default compression
-rwxr-xr-xlib/mysql-functions6
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"