Go back to usual tmp

This commit is contained in:
Bob Mottram 2017-03-04 22:20:14 +00:00
parent bd29f31007
commit 19c7a64299
1 changed files with 0 additions and 7 deletions

View File

@ -217,10 +217,6 @@ function install_tahoelafs {
cd /home/tahoelafs/tahoelafs
git checkout $TAHOELAFS_COMMIT -b $TAHOELAFS_COMMIT
git submodule update --init --recursive
export TMPDIR=/home/tahoelafs/tmp
if [ ! $TMPDIR ]; then
mkdir $TMPDIR
fi
virtualenv venv --distribute
venv/bin/pip uninstall --yes setuptools
venv/bin/pip install setuptools==11.3
@ -248,7 +244,6 @@ function install_tahoelafs {
su -c "$TAHOE_COMMAND create-introducer -C /home/tahoelafs/data --hide-ip --hostname=127.0.0.1" - tahoelafs
TAHOELAFS_CONFIG=/home/tahoelafs/data/tahoe.cfg
if [ ! -f $TAHOELAFS_CONFIG ]; then
export TMPDIR=/tmp
exit 62831
fi
@ -280,8 +275,6 @@ function install_tahoelafs {
systemctl start tahoelafs
set_completion_param "tahoelafs commit" "$TAHOELAFS_COMMIT"
export TMPDIR=/tmp
rm -rf /home/tahoelafs/tmp
APP_INSTALLED=1
}