From 671db6edf6083c88eb2f5a459e863157fab970d6 Mon Sep 17 00:00:00 2001 From: nkraetzschmar <9020053+nkraetzschmar@users.noreply.github.com> Date: Mon, 21 Oct 2024 14:25:10 +0200 Subject: [PATCH] feat: handle multipart tars --- download_pkgs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/download_pkgs b/download_pkgs index ddbe6d2..8f30ebc 100755 --- a/download_pkgs +++ b/download_pkgs @@ -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