From 9009a5fec52c5820fc90a68317bcc29cdbb42da1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 3 Jan 2020 13:26:28 +0100 Subject: learn to handle zst, too --- bin/interpret-mail | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/interpret-mail') 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")" -- cgit v1.2.3-70-g09d2