Check for existing lbrycrd folder

This commit is contained in:
Marko Lorentz 2021-05-26 08:59:09 +02:00
parent 0647b2666d
commit 156ae3b7a9

View file

@ -860,9 +860,12 @@ cd ~ || exit
wget https://github.com/lbryio/lbrycrd/releases/download/v0.17.3.3/lbrycrd-linux-1733.zip
sudo unzip lbrycrd-linux-1733.zip -d /usr/bin
lbrycrdd -daemon -server
sleep 3
lbrycrd-cli stop
# Make sure the working area of the lbrycrdd does exist by starting the daemon for some seconds
if [[ ! -d ~/.lbrycrd ]]; then
lbrycrdd -daemon -server
sleep 3
lbrycrd-cli stop
fi
# Create config for Lbry
echo && echo "Configuring Lbrycrd.conf"