Skip to content

Commit

Permalink
Fixed curl call when setting btrcpexplorergit
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Moten authored and Stadicus committed Aug 13, 2020
1 parent 345a19f commit 5112d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/20-raspibolt-welcome
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ if [ "${gitupdate}" -eq "1" ]; then
lndgit=$(curl -s https://api.github.com/repos/lightningnetwork/lnd/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
# Electrs and RPC Explorer dont have a latest release, just tags
electrsgit=$(curl -s https://api.github.com/repos/romanz/electrs/tags | jq -r '.[0].name')
btcrcpexplorergit=$(cur -s https://api.github.com/repos/janoside/btc-rpc-explorer/tags | jq -r '.[0].name')
btcrcpexplorergit=$(curl -s https://api.github.com/repos/janoside/btc-rpc-explorer/tags | jq -r '.[0].name')
# write to file TODO: convert to JSON for sanity
printf "%s\n%s\n%s\n%s\n" "${btcgit}" "${lndgit}" "${electrsgit}" "${btcrpcexplorergit}" > "${gitstatusfile}"
else
Expand Down

0 comments on commit 5112d01

Please sign in to comment.