Skip to content

Commit

Permalink
Try double equals sign.
Browse files Browse the repository at this point in the history
  • Loading branch information
guydavis committed Dec 26, 2023
1 parent 55a6ee7 commit a14cdcb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/bladebit_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ (${mode} =~ ^fullnode.* || ${mode} =~ "plotter") && (${blockchains} == 'c
# Now install CNI's separate binary for actual GPU plotting...
cd /opt/chia/bladebit
rm -f ./bladebit # Remove stale version bundled in the DEB package.
if [[ "${arch_name}" = "x86_64" ]]; then
if [[ "${arch_name}" == "x86_64" ]]; then
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.1.0/bladebit-v3.1.0-ubuntu-x86-64.tar.gz
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.1.0/bladebit-cuda-v3.1.0-ubuntu-x86-64.tar.gz
else
Expand Down
2 changes: 1 addition & 1 deletion scripts/forks/chia_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
ubuntu_ver=`lsb_release -r -s`
echo "Installing Chia CUDA binaries on ${arch_name}..."
cd /tmp
if [[ "${arch_name}" = "x86_64" ]]; then
if [[ "${arch_name}" == "x86_64" ]]; then
curl -sLJO https://github.com/Chia-Network/chia-blockchain/releases/download/2.1.4-rc1/chia-blockchain-cli_2.1.4rc1-1_amd64.deb
apt-get install ./chia-blockchain-cli*.deb
else
Expand Down
2 changes: 1 addition & 1 deletion scripts/forks/gigahorse_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ else
/usr/bin/bash /machinaris/scripts/gpu_drivers_install.sh

arch_name="$(uname -m)"
if [[ "${arch_name}" = "x86_64" ]]; then
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"
else
url="https://github.com/madMAx43v3r/chia-gigahorse/releases/download/${GIGAHORSE_BRANCH}/chia-gigahorse-farmer-${GIGAHORSE_VERSION}-aarch64.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion scripts/forks/staicoin_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ else
/usr/bin/sh ./install.sh

arch_name="$(uname -m)"
if [[ "${arch_name}" = "x86_64" ]]; then
if [[ "${arch_name}" == "x86_64" ]]; then
sh /machinaris/scripts/timelord_setup.sh
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/madmax_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fi
if [[ (${mode} =~ ^fullnode.* || ${mode} =~ "plotter") && (${blockchains} == 'mmx' || ${blockchains} == 'gigahorse') ]]; then
if [ ! -f /usr/bin/chia_plot ] && [[ "${madmax_skip_build}" != 'true' ]]; then
arch_name="$(uname -m)"
if [[ "${arch_name}" = "x86_64" ]]; then
if [[ "${arch_name}" == "x86_64" ]]; then
pushd /usr/bin
curl -sLJO https://github.com/madMAx43v3r/chia-gigahorse/raw/${GIGAHORSE_BRANCH}/cpu-plotter/linux/x86_64/chia_plot
curl -sLJO https://github.com/madMAx43v3r/chia-gigahorse/raw/${GIGAHORSE_BRANCH}/cpu-plotter/linux/x86_64/chia_plot_k34
Expand Down
2 changes: 1 addition & 1 deletion scripts/megacmd_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [[ ${mode} =~ ^fullnode.* ]] && [[ "${blockchain_db_download}" == 'true' ]] &
arch_name="$(uname -m)"
ubuntu_ver=`lsb_release -r -s`
echo "Installing megacmd on ${arch_name}..."
if [[ "${arch_name}" = "x86_64" ]]; then
if [[ "${arch_name}" == "x86_64" ]]; then
apt update
apt install -y libc-ares2 libavcodec58 libavformat58 libavutil56 libswscale5 libmediainfo0v5 libzen0v5 libcrypto++8 libfreeimage3 libpcrecpp0v5
cd /tmp && curl -O https://mega.nz/linux/repo/xUbuntu_${ubuntu_ver}/amd64/megacmd_1.6.0-6.1_amd64.deb
Expand Down

0 comments on commit a14cdcb

Please sign in to comment.