Update upgrade_monero.bash

Fixing to git checkout.  Thanks M5M400!
This commit is contained in:
Snipa22
2017-03-14 07:42:40 -07:00
committed by GitHub
parent d479d7cfac
commit f136eae607
+3 -3
View File
@@ -3,9 +3,9 @@ echo "This assumes that you have a standard nodejs-pool install, and will patch
sleep 15
echo "Continuing install, this will prompt you for your password if you didn't enable passwordless sudo. Please do not run me as root!"
cd /usr/local/src/monero
sudo checkout .
sudo checkout v0.10.2.1
sudo git checkout .
sudo git checkout v0.10.2.1
curl -L https://raw.githubusercontent.com/Snipa22/nodejs-pool/master/deployment/monero_daemon.patch | sudo git apply -v
sudo rm -rf build
sudo make -j$(nproc)
echo "Done building the new Monero daemon! Please go ahead and reboot monero with: sudo systemctl restart monero as soon as the pool source is updated!"
echo "Done building the new Monero daemon! Please go ahead and reboot monero with: sudo systemctl restart monero as soon as the pool source is updated!"