summaryrefslogtreecommitdiff
path: root/bin/interpret-mail
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/interpret-mail
parent089cbcdf1c5cedcb4157cdd164ee7510139c1904 (diff)
downloadbuilder-9009a5fec52c5820fc90a68317bcc29cdbb42da1.tar.xz
learn to handle zst, too
Diffstat (limited to 'bin/interpret-mail')
-rwxr-xr-xbin/interpret-mail4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/interpret-mail b/bin/interpret-mail
index ee218e7..cc7690e 100755
--- a/bin/interpret-mail
+++ b/bin/interpret-mail
@@ -275,7 +275,7 @@ fi
if [ -s "${tmp_dir}/copy-to-build-support" ]; then
sed -i '
- /\.pkg\.tar\.xz$/!s/$/.pkg.tar.xz/
+ /\.pkg\.tar\.\(xz\|zst\)$/!s/$/.pkg.tar.zst/
' "${tmp_dir}/copy-to-build-support"
if run_and_log_on_error 'copy-to-build-support' "${base_dir}/bin/copy-to-build-support" --wait "${tmp_dir}/copy-to-build-support"; then
log 1 'copy-to-build-support' "$(wc -l < "${tmp_dir}/copy-to-build-support")"
@@ -324,7 +324,7 @@ fi
if [ -s "${tmp_dir}/stabilize" ]; then
sed -i '
- /\.pkg\.tar\.xz$/!s/$/.pkg.tar.xz/
+ /\.pkg\.tar\.\(xz\|zst\)$/!s/$/.pkg.tar.zst/
' "${tmp_dir}/stabilize"
if run_and_log_on_error 'stabilize' "${base_dir}/bin/modify-package-state" --wait --tested "${tmp_dir}/stabilize"; then
log 1 'stabilize' "$(wc -l < "${tmp_dir}/stabilize")"