diff options
author | Erich Eckner <git@eckner.net> | 2020-01-03 13:26:28 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-03 13:26:28 +0100 |
commit | 9009a5fec52c5820fc90a68317bcc29cdbb42da1 (patch) | |
tree | 7b6282369dfa8cfc3cbd224b9dabf79ca4a5d87a /bin/put-upstream-packages-into-db | |
parent | 089cbcdf1c5cedcb4157cdd164ee7510139c1904 (diff) | |
download | builder-9009a5fec52c5820fc90a68317bcc29cdbb42da1.tar.xz |
learn to handle zst, too
Diffstat (limited to 'bin/put-upstream-packages-into-db')
-rwxr-xr-x | bin/put-upstream-packages-into-db | 2 |
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/ |