Fix pool verification in setup_device.sh
This commit is contained in:
parent
2a457f59bf
commit
be0d877971
|
@ -381,7 +381,7 @@ if [ $IS_X86 = 1 ]; then
|
|||
fi
|
||||
POOL_UPGRADE_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/$POOL_ARCH-$POOL_VERSION.tar.gz
|
||||
POOL_UPGRADE_MANIFEST_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt
|
||||
POOL_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt.sig
|
||||
POOL_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightninglabs/pool/releases/download/$POOL_VERSION/manifest-$POOL_VERSION.txt.asc
|
||||
CURRENT=""
|
||||
if [ -f $POOL_VERSION_FILE ]; then
|
||||
CURRENT=$(cat $POOL_VERSION_FILE)
|
||||
|
@ -396,7 +396,7 @@ if [ "$CURRENT" != "$POOL_VERSION" ]; then
|
|||
wget $POOL_UPGRADE_MANIFEST_URL
|
||||
wget $POOL_UPGRADE_MANIFEST_SIG_URL
|
||||
|
||||
gpg --verify manifest-*.txt.sig
|
||||
gpg --verify manifest-*.txt.asc
|
||||
if [ $? == 0 ]; then
|
||||
# Install Pool
|
||||
tar -xzf pool-*.tar.gz
|
||||
|
|
Loading…
Reference in New Issue
Block a user