2019-01-29 19:01:05 +07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
URL=$(
|
|
|
|
curl -si https://api.github.com/repos/lbryio/lbry/releases/latest|
|
|
|
|
grep browser_download_url|
|
|
|
|
sed -E 's/.*"([^"]+)".*/\1/'|
|
|
|
|
grep linux
|
|
|
|
)
|
|
|
|
|
|
|
|
echo "Getting the latest release from $URL..."
|
2019-03-26 00:04:31 +07:00
|
|
|
curl -OL $URL
|
2019-01-29 19:01:05 +07:00
|
|
|
unzip lbrynet-linux.zip
|
|
|
|
rm lbrynet-linux.zip
|