From 8c51daf86f77a4c9c945b162332523448dda9d26 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 3 Jan 2020 13:42:41 +0100 Subject: lib/mysql-functions: mysql_sanity_check(): old packages are allowed to be xz --- lib/mysql-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mysql-functions b/lib/mysql-functions index 20fbbcc..6938d6a 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -711,7 +711,7 @@ mysql_sanity_check() { for dir in $(ls_master_mirror "${arch}"); do ls_master_mirror "${arch}/${dir}" | \ sed ' - /\.pkg\.tar\.zst$/!d + /\.pkg\.tar\.\(xz\|zst\)$/!d s|^|'"${arch}"'/'"${dir}"'/| ' done @@ -751,7 +751,7 @@ mysql_sanity_check() { # shellcheck disable=SC2041 ls_master_mirror 'pool' | \ sed ' - /\.pkg\.tar\.zst\(\.sig\)\?$/ !d + /\.pkg\.tar\.\(xz\|zst\)\(\.sig\)\?$/ !d ' | \ sort -u > \ "${temp_dir}/master-mirror-pool" -- cgit v1.2.3-70-g09d2