From 653d71eadf0bf6b721b244f3dfdc0fb68e2a3bb4 Mon Sep 17 00:00:00 2001 From: openoms <43343391+openoms@users.noreply.github.com> Date: Sat, 11 Sep 2021 22:27:57 +0100 Subject: [PATCH] build: download binaries from bitcoincore.org (#2527) --- build_sdcard.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_sdcard.sh b/build_sdcard.sh index 8c99e32e5..9769ede6a 100755 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -875,7 +875,7 @@ fi gpg --import ./laanwj-releases.asc # download signed binary sha256 hash sum file and check -sudo -u admin wget https://bitcoin.org/bin/bitcoin-core-${bitcoinVersion}/SHA256SUMS.asc +sudo -u admin wget https://bitcoincore.org/bin/bitcoin-core-${bitcoinVersion}/SHA256SUMS.asc verifyResult=$(gpg --verify SHA256SUMS.asc 2>&1) goodSignature=$(echo ${verifyResult} | grep 'Good signature' -c) echo "goodSignature(${goodSignature})" @@ -911,10 +911,10 @@ echo "*** BITCOIN v${bitcoinVersion} for ${bitcoinOSversion} ***" # download resources binaryName="bitcoin-${bitcoinVersion}-${bitcoinOSversion}.tar.gz" if [ ! -f "./${binaryName}" ]; then - sudo -u admin wget https://bitcoin.org/bin/bitcoin-core-${bitcoinVersion}/${binaryName} + sudo -u admin wget https://bitcoincore.org/bin/bitcoin-core-${bitcoinVersion}/${binaryName} fi if [ ! -f "./${binaryName}" ]; then - echo "!!! FAIL !!! Download BITCOIN BINARY not success." + echo "!!! FAIL !!! Could not download the BITCOIN BINARY" exit 1 else # check binary checksum test