start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| echo 'Downloading new package link' | |
| wget -O /tmp/package.txt 'https://drive.google.com/uc?export=download&id=0B1jRc4IqT9kiSVVIOE8wd2w4Zkk' | |
| echo 'Checking if new version is available' | |
| cat /tmp/package.txt | head -1 > /tmp/version | |
| cat /tmp/package.txt | tail -1 > /tmp/link | |
| (diff /tmp/version ~/.pocket-home/.version && echo 'Already up-to-date.') || \ | |
| (echo 'Updating...' && \ | |
| mkdir -p ~/.pocket-home/ && \ |
| sudo apt-get update | |
| sudo apt-get install libpython2.7-dev build-essential | |
| wget https://bootstrap.pypa.io/get-pip.py | |
| python get-pip.py | |
| wget https://github.com/AHAAAAAAA/PokemonGo-Map/archive/master.zip | |
| unzip master.zip | |
| pushd PokemonGo-Map-master/ | |
| sudo pip install -r requirements.txt |
| sudo apt-get update | |
| sudo apt-get install libpython2.7-dev build-essential python-pip | |
| wget https://bootstrap.pypa.io/get-pip.py | |
| python get-pip.py | |
| wget https://github.com/AHAAAAAAA/PokemonGo-Map/archive/master.zip | |
| unzip master.zip | |
| pushd PokemonGo-Map-master/ | |
| sudo pip install -r requirements.txt |
| [Misc] | |
| Executions = 4 | |
| [Setup] | |
| ConfigVersion = 306 | |
| ForceSetup = 1 | |
| NoAutoLoad = 1 | |
| SelectedGRP = "DUKE3D.GRP" | |
| ModDir = "/" |
I hereby claim:
To claim this, I am signing this object: