summaryrefslogtreecommitdiff
path: root/bin/seed-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-03 13:26:28 +0100
committerErich Eckner <git@eckner.net>2020-01-03 13:26:28 +0100
commit9009a5fec52c5820fc90a68317bcc29cdbb42da1 (patch)
tree7b6282369dfa8cfc3cbd224b9dabf79ca4a5d87a /bin/seed-build-list
parent089cbcdf1c5cedcb4157cdd164ee7510139c1904 (diff)
downloadbuilder-9009a5fec52c5820fc90a68317bcc29cdbb42da1.tar.xz
learn to handle zst, too
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-xbin/seed-build-list6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index d083487..32bd6df 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -223,8 +223,8 @@ if [ -s "${tmp_dir}/mirrors" ]; then
N
s/^.*\n//
/^lib32-/d
- s/^\(.*-\)x86_64\.pkg\.tar\.xz$/\1i486\n\1i686\n\1pentium4/
- s/^\(.*-any\)\.pkg\.tar\.xz$/\1/
+ s/^\(.*-\)x86_64\.pkg\.tar\.\(xz\|zst\)$/\1i486\n\1i686\n\1pentium4/
+ s/^\(.*-any\)\.pkg\.tar\.\(xz\|zst\)$/\1/
' | \
sed '
s/^\(.*\)-\([^-]\+-[^-]\+\)-\([^-]\+\)$/theirs \2 \3 \1/
@@ -248,7 +248,7 @@ if [ -s "${tmp_dir}/mirrors" ]; then
} | \
mysql_run_query | \
sed '
- s/^\(.*\)-\([^-]\+-[^-.]\+\)\(\.[^-.]\+\)\?-\([^-]\+\)\.pkg\.tar\.xz$/ours \2 \4 \1/
+ s/^\(.*\)-\([^-]\+-[^-.]\+\)\(\.[^-.]\+\)\?-\([^-]\+\)\.pkg\.tar\.\(xz\|zst\)$/ours \2 \4 \1/
s/^\(.* \)any\( \S\+\)$/\0\n\1i486\2\n\1i686\2\n\1pentium4\2/
'
} | \