mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-11 16:09:16 +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
|
||||
if [ $? == 0 ]; then
|
||||
# Install Bitcoin
|
||||
tar -xvf bitcoin-*.tar.gz
|
||||
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/*
|
||||
|
||||
# Mark current version
|
||||
|
|
|
@ -174,8 +174,9 @@ if [ "$CURRENT" != "$BTC_UPGRADE_URL" ]; then
|
|||
sha256sum --ignore-missing --check SHA256SUMS.asc
|
||||
gpg --verify SHA256SUMS.asc
|
||||
|
||||
tar -xvf bitcoin-*.tar.gz
|
||||
mv bitcoin-* bitcoin
|
||||
# Install 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/*
|
||||
if [ ! -L /home/bitcoin/.bitcoin ]; then
|
||||
sudo -u bitcoin ln -s /mnt/hdd/mynode/bitcoin /home/bitcoin/.bitcoin
|
||||
|
|
Loading…
Reference in New Issue
Block a user