mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-13 17:09:15 +00:00
Bug fixes for verify
This commit is contained in:
parent
30476d1e2c
commit
012c9a1dd3
|
@ -57,8 +57,8 @@ if [ "$CURRENT" != "$BTC_UPGRADE_URL" ]; then
|
||||||
gpg --verify SHA256SUMS.asc
|
gpg --verify SHA256SUMS.asc
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
# Install Bitcoin
|
# Install Bitcoin
|
||||||
tar -xvf bitcoin-*.tar.gz
|
tar -xvf bitcoin-$BTC_VERSION-$ARCH.tar.gz
|
||||||
mv bitcoin-* bitcoin
|
mv bitcoin-$BTC_VERSION bitcoin
|
||||||
install -m 0755 -o root -g root -t /usr/local/bin bitcoin/bin/*
|
install -m 0755 -o root -g root -t /usr/local/bin bitcoin/bin/*
|
||||||
|
|
||||||
# Mark current version
|
# Mark current version
|
||||||
|
|
|
@ -174,8 +174,9 @@ if [ "$CURRENT" != "$BTC_UPGRADE_URL" ]; then
|
||||||
sha256sum --ignore-missing --check SHA256SUMS.asc
|
sha256sum --ignore-missing --check SHA256SUMS.asc
|
||||||
gpg --verify SHA256SUMS.asc
|
gpg --verify SHA256SUMS.asc
|
||||||
|
|
||||||
tar -xvf bitcoin-*.tar.gz
|
# Install Bitcoin
|
||||||
mv bitcoin-* bitcoin
|
tar -xvf bitcoin-$BTC_VERSION-$ARCH.tar.gz
|
||||||
|
mv bitcoin-$BTC_VERSION bitcoin
|
||||||
install -m 0755 -o root -g root -t /usr/local/bin bitcoin/bin/*
|
install -m 0755 -o root -g root -t /usr/local/bin bitcoin/bin/*
|
||||||
if [ ! -L /home/bitcoin/.bitcoin ]; then
|
if [ ! -L /home/bitcoin/.bitcoin ]; then
|
||||||
sudo -u bitcoin ln -s /mnt/hdd/mynode/bitcoin /home/bitcoin/.bitcoin
|
sudo -u bitcoin ln -s /mnt/hdd/mynode/bitcoin /home/bitcoin/.bitcoin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user