diff --git a/scripts/bladebit_setup.sh b/scripts/bladebit_setup.sh index 8eac9d68..4c799352 100644 --- a/scripts/bladebit_setup.sh +++ b/scripts/bladebit_setup.sh @@ -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 diff --git a/scripts/forks/chia_install.sh b/scripts/forks/chia_install.sh index 1c5bb423..3f461a94 100644 --- a/scripts/forks/chia_install.sh +++ b/scripts/forks/chia_install.sh @@ -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 diff --git a/scripts/forks/gigahorse_install.sh b/scripts/forks/gigahorse_install.sh index 36b1674e..e0ed197c 100644 --- a/scripts/forks/gigahorse_install.sh +++ b/scripts/forks/gigahorse_install.sh @@ -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" diff --git a/scripts/forks/staicoin_install.sh b/scripts/forks/staicoin_install.sh index c52488cd..1b09f8e8 100644 --- a/scripts/forks/staicoin_install.sh +++ b/scripts/forks/staicoin_install.sh @@ -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 diff --git a/scripts/madmax_setup.sh b/scripts/madmax_setup.sh index c1c74750..a8d5300c 100644 --- a/scripts/madmax_setup.sh +++ b/scripts/madmax_setup.sh @@ -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 diff --git a/scripts/megacmd_setup.sh b/scripts/megacmd_setup.sh index 27ed663b..86284ac6 100644 --- a/scripts/megacmd_setup.sh +++ b/scripts/megacmd_setup.sh @@ -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