diff --git a/lbrynet/lbrynet_daemon/scripts/update_lbry.sh b/lbrynet/lbrynet_daemon/scripts/update_lbry.sh index c56675c40..6ae5fefee 100644 --- a/lbrynet/lbrynet_daemon/scripts/update_lbry.sh +++ b/lbrynet/lbrynet_daemon/scripts/update_lbry.sh @@ -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 diff --git a/lbrynet/lbrynet_daemon/scripts/update_lbrynet.sh b/lbrynet/lbrynet_daemon/scripts/update_lbrynet.sh index 8d84a8f50..1cf48f540 100644 --- a/lbrynet/lbrynet_daemon/scripts/update_lbrynet.sh +++ b/lbrynet/lbrynet_daemon/scripts/update_lbrynet.sh @@ -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"