From 7cd30efbe9b7c2feba6f1b6512882a629fc93b32 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 4 Jul 2016 08:41:44 -0400 Subject: [PATCH] download lbrycrd binaries and set up lbrycrddpath.conf --- packaging/ubuntu/lbry | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packaging/ubuntu/lbry b/packaging/ubuntu/lbry index d24574f32..80b4618ed 100755 --- a/packaging/ubuntu/lbry +++ b/packaging/ubuntu/lbry @@ -1,5 +1,17 @@ #!/bin/bash +if [ -f "~/.lbrycrddpath.conf" ]; then + lbrycrdd_path = `cat ~/.lbrycrddpath.conf` +else + mkdir -p "~/.lbrycrd" + cd ~/.lbrycrd + echo "Downloading lbrycrd binaries" + wget http://s3.amazonaws.com/files.lbry.io/bins.zip + unzip -o bins.zip + rm bins.zip + echo `pwd`/lbrycrdd > ~/.lbrycrddpath.conf +fi + set -euo pipefail WEB_UI_BRANCH='master'