mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-20 13:24:19 +01:00
show SH256 hash
This commit is contained in:
@@ -52,6 +52,7 @@ if [ ${isX86_32} -eq 1 ] ; then
|
||||
fi
|
||||
echo ""
|
||||
echo "*** LND v${lndVersion} for ${lndOSversion} ***"
|
||||
echo "SHA256 hash: $lndSHA256"
|
||||
echo ""
|
||||
|
||||
# get LND binary
|
||||
@@ -83,7 +84,7 @@ sleep 3
|
||||
verifyResult=$(gpg --verify manifest-v${lndVersion}.txt.sig 2>&1)
|
||||
goodSignature=$(echo ${verifyResult} | grep 'Good signature' -c)
|
||||
echo "goodSignature(${goodSignature})"
|
||||
correctKey=$(echo ${verifyResult} | tr -d " \t\n\r" | grep "${olaoluwaPGP}" -c)
|
||||
correctKey=$(echo ${verifyResult} | tr -d " \t\n\r" | grep "${GPGcheck}" -c)
|
||||
echo "correctKey(${correctKey})"
|
||||
if [ ${correctKey} -lt 1 ] || [ ${goodSignature} -lt 1 ]; then
|
||||
echo ""
|
||||
@@ -107,4 +108,4 @@ fi
|
||||
sudo systemctl restart lnd
|
||||
|
||||
echo ""
|
||||
echo "Installed ${installed}"
|
||||
echo "Installed ${installed}"
|
||||
Reference in New Issue
Block a user