|
@@ -222,19 +222,20 @@ function install_tahoelafs {
|
222
|
222
|
git checkout $TAHOELAFS_COMMIT -b $TAHOELAFS_COMMIT
|
223
|
223
|
git submodule update --init --recursive
|
224
|
224
|
virtualenv venv --distribute
|
225
|
|
- venv/bin/pip uninstall setuptools
|
|
225
|
+ venv/bin/pip uninstall --yes setuptools
|
226
|
226
|
venv/bin/pip install setuptools==11.3
|
227
|
227
|
venv/bin/pip install six==1.10.0 packaging==16.8 attrs==16.3.0 appdirs==1.4.2 pycrypto==2.1.0 cffi==1.9.1
|
228
|
228
|
venv/bin/pip install cryptography==1.7.2 markerlib==0.6.0 distribute==0.7.3
|
229
|
229
|
venv/bin/pip install --editable .
|
230
|
230
|
configure_firewall_for_tahoelafs
|
231
|
231
|
|
232
|
|
- if [ ! -d /home/tahoelafs/data ]; then
|
233
|
|
- mkdir /home/tahoelafs/data
|
|
232
|
+ if [ -d /home/tahoelafs/data ]; then
|
|
233
|
+ rm -rf /home/tahoelafs/data
|
234
|
234
|
fi
|
|
235
|
+ mkdir /home/tahoelafs/data
|
235
|
236
|
|
236
|
237
|
# remove files we don't need
|
237
|
|
- rm /home/tahoelafs/.mutt
|
|
238
|
+ rm -rf /home/tahoelafs/.mutt
|
238
|
239
|
rm /home/tahoelafs/.emacs-mutt
|
239
|
240
|
rm /home/tahoelafs/.muttrc
|
240
|
241
|
rm /home/tahoelafs/.mutt-alias
|