summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-03 13:42:41 +0100
committerErich Eckner <git@eckner.net>2020-01-03 13:42:41 +0100
commit8c51daf86f77a4c9c945b162332523448dda9d26 (patch)
tree4ec4cc183249ae5f51ebdc68b6d8491999c638a5 /lib
parentd7d117041a092aa091173aa48f0eacf7027fbf82 (diff)
downloadbuilder-8c51daf86f77a4c9c945b162332523448dda9d26.tar.xz
lib/mysql-functions: mysql_sanity_check(): old packages are allowed to be xz
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"