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