mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Bug fixes
This commit is contained in:
parent
26d78b183a
commit
30476d1e2c
|
@ -168,13 +168,13 @@ if [ "$CURRENT" != "$BTC_UPGRADE_URL" ]; then
|
|||
mkdir -p /tmp/download
|
||||
cd /tmp/download
|
||||
|
||||
wget $BTC_UPGRADE_URL -O bitcoin.tar.gz
|
||||
wget $BTC_UPGRADE_URL
|
||||
wget $BTC_UPGRADE_SHA256SUM_URL -O SHA256SUMS.asc
|
||||
|
||||
sha256sum --ignore-missing --check SHA256SUMS.asc
|
||||
gpg --verify SHA256SUMS.ascx
|
||||
gpg --verify SHA256SUMS.asc
|
||||
|
||||
tar -xvf bitcoin.tar.gz
|
||||
tar -xvf bitcoin-*.tar.gz
|
||||
mv bitcoin-* bitcoin
|
||||
install -m 0755 -o root -g root -t /usr/local/bin bitcoin/bin/*
|
||||
if [ ! -L /home/bitcoin/.bitcoin ]; then
|
||||
|
@ -209,14 +209,14 @@ if [ "$CURRENT" != "$LND_UPGRADE_URL" ]; then
|
|||
mkdir -p /tmp/download
|
||||
cd /tmp/download
|
||||
|
||||
wget $LND_UPGRADE_URL -O lnd.tar.gz
|
||||
wget $LND_UPGRADE_MANIFEST_URL -O manifest-lnd.txt
|
||||
wget $LND_UPGRADE_MANIFEST_SIG_URL -O manifest-lnd.txt.sig
|
||||
wget $LND_UPGRADE_URL
|
||||
wget $LND_UPGRADE_MANIFEST_URL
|
||||
wget $LND_UPGRADE_MANIFEST_SIG_URL
|
||||
|
||||
gpg --verify manifest-lnd.txt.sig
|
||||
gpg --verify manifest-*.txt.sig
|
||||
|
||||
tar -xzf lnd.tar.gz
|
||||
mv lnd-* lnd
|
||||
tar -xzf lnd-*.tar.gz
|
||||
mv $LND_ARCH-$LND_VERSION lnd
|
||||
install -m 0755 -o root -g root -t /usr/local/bin lnd/*
|
||||
ln -s /bin/ip /usr/bin/ip || true
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user