Skip to content

Commit

Permalink
feat: handle multipart tars
Browse files Browse the repository at this point in the history
  • Loading branch information
nkraetzschmar committed Oct 21, 2024
1 parent 6c3b9d9 commit 671db6e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions download_pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ arch="$(dpkg --print-architecture)"
mkdir download
while read -r repo tag; do
gh release download --dir download --repo "$repo" "$tag"
if [ -e download/build.tar.xz.0000 ]; then
set +f
cat download/build.tar.xz.* | tar -C download -x
rm download/build.tar.xz.*
set -f
fi
if [ -e download/build.tar.xz ]; then
xz -d < download/build.tar.xz | tar -C download -x
rm download/build.tar.xz
Expand Down

0 comments on commit 671db6e

Please sign in to comment.