install.sh 435 B

1234567891011121314
  1. version=v0.101.1
  2. # Exit if lbrynet already exists
  3. ls flbry/lbrynet >/dev/null && exit 1
  4. if [ "$(uname)" == "Darwin" ]; then
  5. wget -O /tmp/lbrynet.zip https://github.com/lbryio/lbry-sdk/releases/download/$version/lbrynet-mac.zip
  6. elif [ "$(uname)" == "Linux" ]; then
  7. wget -O /tmp/lbrynet.zip https://github.com/lbryio/lbry-sdk/releases/download/$version/lbrynet-linux.zip
  8. fi
  9. unzip /tmp/lbrynet.zip -d flbry
  10. rm /tmp/lbrynet.zip