summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions4
1 files 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"