mac debug
This commit is contained in:
parent
ba1984c106
commit
f138b71406
4 changed files with 20 additions and 9 deletions
|
|
@ -11,6 +11,11 @@ install_lnd() {
|
|||
log "Checking latest LND version..."
|
||||
local api_response=$(download_stdout "https://api.github.com/repos/lightningnetwork/lnd/releases/latest")
|
||||
LND_VERSION=$(json_value "tag_name" "$api_response")
|
||||
|
||||
if [ -z "$LND_VERSION" ]; then
|
||||
log "${PRIMARY_COLOR}Failed to fetch latest LND version.${RESET_COLOR}"
|
||||
exit 1
|
||||
fi
|
||||
log "Latest LND version: $LND_VERSION"
|
||||
|
||||
local LND_OS="$OS"; [ "$OS" = "Mac" ] && LND_OS="darwin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue