forked from LBRYCommunity/lbry-sdk
update scripts
This commit is contained in:
parent
1a1c101b9a
commit
8ca8c73868
2 changed files with 5 additions and 3 deletions
|
@ -26,6 +26,10 @@ unzip LBRYURIHandler.app.zip &>/dev/null
|
|||
unzip LBRY\ Updater.app.zip &>/dev/null
|
||||
|
||||
echo "Installing update"
|
||||
|
||||
mkdir -p "$lbrycrd_directory"
|
||||
echo $current_version > "${lbrycrd_directory}/lbry_app_version.txt"
|
||||
|
||||
rm -rf /Applications/LBRY.app &>/dev/null
|
||||
rm -rf /Applications/LBRYURIHandler.app &>/dev/null
|
||||
rm -rf /Applications/LBRY\ Updater.app &>/dev/null
|
||||
|
|
|
@ -21,12 +21,10 @@ echo "Downloading update"
|
|||
git clone https://github.com/lbryio/lbry.git &>/dev/null
|
||||
cd lbry
|
||||
|
||||
version=$(git rev-parse HEAD)
|
||||
|
||||
echo "Updating lbrynet"
|
||||
sudo python setup.py install &>/dev/null
|
||||
mkdir -p "$lbrynet_directory"
|
||||
echo $version > "${lbrynet_directory}/lbrynet_version.txt"
|
||||
echo $current_version > "${lbrynet_directory}/lbrynet_version.txt"
|
||||
|
||||
echo "Cleaning up"
|
||||
|
||||
|
|
Loading…
Reference in a new issue