From f4d751b52317c43349d655e7d5ffc3d7a5c18cf0 Mon Sep 17 00:00:00 2001 From: Guy Davis <guydavis.ca@gmail.com> Date: Mon, 6 May 2024 09:50:22 -0600 Subject: [PATCH] Tar with xz broken in runner? --- scripts/forks/gigahorse_install.sh | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/scripts/forks/gigahorse_install.sh b/scripts/forks/gigahorse_install.sh index f122d113..098489a6 100644 --- a/scripts/forks/gigahorse_install.sh +++ b/scripts/forks/gigahorse_install.sh @@ -17,12 +17,22 @@ else arch_name="$(uname -m)" if [[ "${arch_name}" == "x86_64" ]]; then url="https://github.com/madMAx43v3r/chia-gigahorse/releases/download/${GIGAHORSE_BRANCH}/chia-gigahorse-farmer-${GIGAHORSE_VERSION}-x86_64.tar.gz" + echo "Pulling Madmax closed-source Chia farming binary from..." + echo ${url} + cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url} + du -hsc chia-gigahorse-farmer* + tar -xzf chia-gigahorse-farmer* else url="https://github.com/madMAx43v3r/chia-gigahorse/releases/download/${GIGAHORSE_BRANCH}/chia-gigahorse-farmer-${GIGAHORSE_VERSION}-aarch64.tar.xz" + echo "Pulling Madmax closed-source Chia farming binary from..." + echo ${url} + cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url} + du -hsc chia-gigahorse-farmer* + cksum chia-gigahorse-farmer* + tar --version + #tar -xzf chia-gigahorse-farmer* # Fails? + which unxz + unxz --version + unxz chia-gigahorse-farmer* fi - echo "Pulling Madmax closed-source Chia farming binary from..." - echo ${url} - cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url} - du -hsc chia-gigahorse-farmer* - tar -xzf chia-gigahorse-farmer* fi