|
@@ -107,7 +107,14 @@ function mesh_babel {
|
107
|
107
|
if [ ! -f /tmp/meshtype ]; then
|
108
|
108
|
sudo apt-get -y install babeld
|
109
|
109
|
sudo apt-get -y install irssi mumble
|
110
|
|
- sudo apt-get -y install toxic
|
|
110
|
+ if [ ! -f /usr/bin/toxic ]; then
|
|
111
|
+ sudo apt-get -y install toxic
|
|
112
|
+ echo "n
|
|
113
|
+/nick $USER
|
|
114
|
+/exit
|
|
115
|
+" | /usr/bin/toxic -d
|
|
116
|
+ fi
|
|
117
|
+
|
111
|
118
|
CURR_DIR=$(pwd)
|
112
|
119
|
if [ ! -f ~/develop/toxid ]; then
|
113
|
120
|
if [ ! -f ~/develop ]; then
|
|
@@ -206,7 +213,13 @@ function mesh_batman {
|
206
|
213
|
sudo apt-get -y install python-dev libevent-dev ebtables python-pip
|
207
|
214
|
sudo apt-get -y install wireless-tools rfkill
|
208
|
215
|
sudo apt-get -y install irssi mumble
|
209
|
|
- sudo apt-get -y install toxic
|
|
216
|
+ if [ ! -f /usr/bin/toxic ]; then
|
|
217
|
+ sudo apt-get -y install toxic
|
|
218
|
+ echo "n
|
|
219
|
+/nick $USER
|
|
220
|
+/exit
|
|
221
|
+" | /usr/bin/toxic -d
|
|
222
|
+ fi
|
210
|
223
|
fi
|
211
|
224
|
|
212
|
225
|
batman_script=/tmp/batman
|