Skip to content
Snippets Groups Projects
Commit 98bdf8eb authored by Bob Mottram's avatar Bob Mottram
Browse files

Ensure that the latest version of tahoe-lafs is used

parent 08c82aee
No related branches found
No related tags found
No related merge requests found
......@@ -141,6 +141,7 @@ function remove_tahoelafs {
function_check save_firewall_settings
save_firewall_settings
pip uninstall tahoe-lafs
apt-get -y remove --purge tahoe-lafs
sed -i '/install_tahoelafs/d' $COMPLETION_FILE
......@@ -207,7 +208,8 @@ function tahoelafs_update_script {
}
function mesh_install_tahoelafs {
chroot "$rootdir" apt-get -y install tahoe-lafs
chroot "$rootdir" apt-get -y install python-pip tahoe-lafs
chroot "$rootdir" pip install tahoe-lafs
chroot "$rootdir" su -c 'tahoe create-client' - $MY_USERNAME
if [ ! -d $rootdir/home/$MY_USERNAME/.tahoe ]; then
exit 63722
......@@ -229,7 +231,8 @@ function install_tahoelafs {
return
fi
apt-get -y install tahoe-lafs
apt-get -y install python-pip tahoe-lafs
pip install tahoe-lafs
configure_firewall_for_tahoelafs
reconfigure_tahoelafs
tahoelafs_update_script /usr/bin/update-tahoelafs
......
......@@ -522,6 +522,9 @@ function show_desktop_icons {
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config/autostart
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/*.sh
# link to Tahoe-LAFS Magic folder
ln -s /home/${MY_USERNAME}/Desktop/${TAHOELAFS_SHARED_DIR} /home/${MY_USERNAME}/${TAHOELAFS_SHARED_DIR}
# restart caja
killall caja
killall mate-panel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment