Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd /srv/tmp
- echo Downloading new version
- sudo wget https://github.com/AHAAAAAAA/PokemonGo-Map/archive/master.zip
- echo Unzip new version
- sudo unzip master.zip
- echo Stop running version
- screen -S map -X quit
- cd /srv
- echo Remove current version
- sudo rm -r -f PokemonGo-Map-master
- cd /srv/tmp
- echo Move new version
- sudo mv PokemonGo-Map-master/ /srv
- echo Remove temporary files
- sudo rm -r master.zip
- echo Restart in 10 seconds
- sleep 10
- echo REBOOTING NOW
- sudo reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement