Only install once
This commit is contained in:
parent
fdbfd3834c
commit
1508c07a07
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue