Skip to content

Commit

Permalink
Merge pull request #987 from guydavis/develop
Browse files Browse the repository at this point in the history
Tar with xz broken in runner?
  • Loading branch information
guydavis authored May 6, 2024
2 parents 97781f6 + f4d751b commit e951d9c
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions scripts/forks/gigahorse_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e951d9c

Please sign in to comment.