#1231 quick fix also on lnd.update.sh

This commit is contained in:
rootzoll 2020-06-01 22:03:07 +02:00
parent fcebd7caff
commit 10b4ef57b3

View file

@ -143,7 +143,7 @@ if [ "${mode}" = "verified" ]; then
echo echo
echo "# check binary was not manipulated (checksum test)" echo "# check binary was not manipulated (checksum test)"
sudo -u admin wget -N https://github.com/lightningnetwork/lnd/releases/download/v${lndUpdateVersion}/manifest-v${lndUpdateVersion}.txt.sig sudo -u admin wget -N https://github.com/lightningnetwork/lnd/releases/download/v${lndUpdateVersion}/manifest-v${lndUpdateVersion}.txt.sig
sudo -u admin wget -N -O "${downloadDir}/pgp_keys.asc" ${lndUpdatePGPpkeys} sudo -u admin wget --no-check-certificate -N -O "${downloadDir}/pgp_keys.asc" ${lndUpdatePGPpkeys}
binaryChecksum=$(sha256sum ${binaryName} | cut -d " " -f1) binaryChecksum=$(sha256sum ${binaryName} | cut -d " " -f1)
if [ "${binaryChecksum}" != "${lndSHA256}" ]; then if [ "${binaryChecksum}" != "${lndSHA256}" ]; then
echo "error='checksum not matching'" echo "error='checksum not matching'"