summaryrefslogtreecommitdiff
path: root/bin/put-upstream-packages-into-db
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/put-upstream-packages-into-db
parent089cbcdf1c5cedcb4157cdd164ee7510139c1904 (diff)
downloadbuilder-9009a5fec52c5820fc90a68317bcc29cdbb42da1.tar.xz
learn to handle zst, too
Diffstat (limited to 'bin/put-upstream-packages-into-db')
-rwxr-xr-xbin/put-upstream-packages-into-db2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/put-upstream-packages-into-db b/bin/put-upstream-packages-into-db
index 219e146..68629a0 100755
--- a/bin/put-upstream-packages-into-db
+++ b/bin/put-upstream-packages-into-db
@@ -20,7 +20,7 @@ trap 'rm "${upstream_packages}"' EXIT
/^%FILENAME%$/ {
N
s/.*\n//
- s/\.pkg\.tar\.xz$//
+ s/\.pkg\.tar\.\(xz\|zst\)$//
s/-\(\([^-:]\+\):\)\?\([^-:]\+\)-\([^-]\+\)-\([^-]\+\)$/\t\2\t\3\t\4\t\5/
s/\s\s/\t0\t/
s/^/'"${repo}"'\t/