From 23f97a2296ea6aec621527a40a80f2b11743898a Mon Sep 17 00:00:00 2001 From: openoms Date: Wed, 31 Jul 2019 11:51:47 +0100 Subject: [PATCH] show SH256 hash --- lnd.updates/lnd.update.v0.7.1-beta.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lnd.updates/lnd.update.v0.7.1-beta.sh b/lnd.updates/lnd.update.v0.7.1-beta.sh index 4b05a56..8122643 100644 --- a/lnd.updates/lnd.update.v0.7.1-beta.sh +++ b/lnd.updates/lnd.update.v0.7.1-beta.sh @@ -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}" \ No newline at end of file