forked from LBRYCommunity/lbry-sdk
speed up update scripts
don’t download repo history, only what’s current.
This commit is contained in:
parent
8ca8c73868
commit
4dcfeca092
2 changed files with 5 additions and 7 deletions
|
@ -13,13 +13,11 @@ if [ -d "$lbrycrd_directory" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
echo "Updating LBRY"
|
||||
|
||||
tmp=$(mktemp -d)
|
||||
cd $tmp
|
||||
|
||||
echo "Downloading update"
|
||||
git clone https://github.com/jackrobison/lbrynet-app.git &>/dev/null
|
||||
echo "Downloading LBRY update"
|
||||
git clone --depth 1 https://github.com/jackrobison/lbrynet-app.git &>/dev/null
|
||||
cd lbrynet-app
|
||||
unzip LBRY.app.zip &>/dev/null
|
||||
unzip LBRYURIHandler.app.zip &>/dev/null
|
||||
|
|
|
@ -16,12 +16,12 @@ fi
|
|||
tmp=$(mktemp -d)
|
||||
cd $tmp
|
||||
|
||||
echo "Downloading update"
|
||||
echo "Downloading LBRYnet update"
|
||||
|
||||
git clone https://github.com/lbryio/lbry.git &>/dev/null
|
||||
git clone --depth 1 https://github.com/lbryio/lbry.git &>/dev/null
|
||||
cd lbry
|
||||
|
||||
echo "Updating lbrynet"
|
||||
echo "Updating LBRYnet"
|
||||
sudo python setup.py install &>/dev/null
|
||||
mkdir -p "$lbrynet_directory"
|
||||
echo $current_version > "${lbrynet_directory}/lbrynet_version.txt"
|
||||
|
|
Loading…
Reference in a new issue