Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/clean-cache
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/clean-cache
parent089cbcdf1c5cedcb4157cdd164ee7510139c1904 (diff)
learn to handle zst, too
Diffstat (limited to 'bin/clean-cache')
-rwxr-xr-xbin/clean-cache4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/clean-cache b/bin/clean-cache
index 41d0df8..2ed8c58 100755
--- a/bin/clean-cache
+++ b/bin/clean-cache
@@ -56,7 +56,9 @@ find "${tmp_dir}" -type f -name desc \
while read -r s; do
printf '%s%s\n' \
"${s}" '-i686.pkg.tar.xz' \
- "${s}" '-any.pkg.tar.xz'
+ "${s}" '-any.pkg.tar.xz' \
+ "${s}" '-i686.pkg.tar.zst' \
+ "${s}" '-any.pkg.tar.zst'
done | \
sha256sum -c --ignore-missing --quiet 2> /dev/null | \
sed 's|: FAILED$||' | \