mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-04 01:48:23 +02:00
fux detecting lnd update version
This commit is contained in:
parent
9e808edde3
commit
2f2f22ee15
@ -65,7 +65,7 @@ lndInstalledVersionMain=$(echo "${lndInstalledVersion}" | cut -d "-" -f1 | cut -
|
||||
lndInstalledVersionMinor=$(echo "${lndInstalledVersion}" | cut -d "-" -f1 | cut -d "." -f3)
|
||||
|
||||
# test if the installed version already the verified/recommended update version
|
||||
lndUpdateInstalled=$(echo "${lndInstalledVersion}" | grep -c "lndUpdateVersion")
|
||||
lndUpdateInstalled=$(echo "${lndInstalledVersion}" | grep -c "${lndUpdateVersion}")
|
||||
|
||||
# get latest release from LND GitHub releases
|
||||
gitHubLatestReleaseJSON="$(curl -s https://api.github.com/repos/lightningnetwork/lnd/releases | jq '.[0]')"
|
||||
|
Loading…
x
Reference in New Issue
Block a user