Only install once

This commit is contained in:
Bob Mottram 2015-08-29 21:20:50 +01:00
parent fdbfd3834c
commit 1508c07a07
1 changed files with 5 additions and 1 deletions

View File

@ -48,9 +48,13 @@ SERVER_INSTALLATION="no"
ZERONET_REPO='https://github.com/bashrc/ZeroNet'
ZERONET_DIR=~/zeronet
ZERONET_URL=http://127.0.0.1:43110
ZERONET_DEFAULT=1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F
ZERONET_URL=http://127.0.0.1:43110/$ZERONET_DEFAULT
function install_zeronet {
if [ -d $ZERONET_DIR ]; then
return
fi
sudo apt-get -y install python python-msgpack python-gevent
sudo apt-get -y install python-pip transmission-daemon
sudo pip install msgpack-python --upgrade