|
@@ -141,6 +141,7 @@ function remove_tahoelafs {
|
141
|
141
|
function_check save_firewall_settings
|
142
|
142
|
save_firewall_settings
|
143
|
143
|
|
|
144
|
+ pip uninstall tahoe-lafs
|
144
|
145
|
apt-get -y remove --purge tahoe-lafs
|
145
|
146
|
|
146
|
147
|
sed -i '/install_tahoelafs/d' $COMPLETION_FILE
|
|
@@ -207,7 +208,8 @@ function tahoelafs_update_script {
|
207
|
208
|
}
|
208
|
209
|
|
209
|
210
|
function mesh_install_tahoelafs {
|
210
|
|
- chroot "$rootdir" apt-get -y install tahoe-lafs
|
|
211
|
+ chroot "$rootdir" apt-get -y install python-pip tahoe-lafs
|
|
212
|
+ chroot "$rootdir" pip install tahoe-lafs
|
211
|
213
|
chroot "$rootdir" su -c 'tahoe create-client' - $MY_USERNAME
|
212
|
214
|
if [ ! -d $rootdir/home/$MY_USERNAME/.tahoe ]; then
|
213
|
215
|
exit 63722
|
|
@@ -229,7 +231,8 @@ function install_tahoelafs {
|
229
|
231
|
return
|
230
|
232
|
fi
|
231
|
233
|
|
232
|
|
- apt-get -y install tahoe-lafs
|
|
234
|
+ apt-get -y install python-pip tahoe-lafs
|
|
235
|
+ pip install tahoe-lafs
|
233
|
236
|
configure_firewall_for_tahoelafs
|
234
|
237
|
reconfigure_tahoelafs
|
235
|
238
|
tahoelafs_update_script /usr/bin/update-tahoelafs
|