mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-10 21:03:09 +02:00
fix for 0.17.0.1
This commit is contained in:
@@ -209,9 +209,14 @@ if [ ${correctKey} -lt 1 ] || [ ${goodSignature} -lt 1 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# correct versions for install if needed
|
||||||
|
if [ "${bitcoinVersion}" = "0.17.0.1"]; then
|
||||||
|
bitcoinVersion="0.17.0"
|
||||||
|
fi
|
||||||
|
|
||||||
# install
|
# install
|
||||||
sudo -u admin tar -xvf ${binaryName}
|
sudo -u admin tar -xvf ${binaryName}
|
||||||
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-${bitcoinVersion}/bin/*
|
sudo install -m 0755 -o root -g root -t /usr/local/bin/bitcoin-${bitcoinVersion}/bin/*
|
||||||
sleep 3
|
sleep 3
|
||||||
installed=$(sudo -u admin bitcoind --version | grep "${bitcoinVersion}" -c)
|
installed=$(sudo -u admin bitcoind --version | grep "${bitcoinVersion}" -c)
|
||||||
if [ ${installed} -lt 1 ]; then
|
if [ ${installed} -lt 1 ]; then
|
||||||
|
Reference in New Issue
Block a user