Ver código fonte

Go back to usual tmp

Bob Mottram 8 anos atrás
pai
commit
19c7a64299
1 arquivos alterados com 0 adições e 7 exclusões
  1. 0
    7
      src/freedombone-app-tahoelafs

+ 0
- 7
src/freedombone-app-tahoelafs Ver arquivo

@@ -217,10 +217,6 @@ function install_tahoelafs {
217 217
     cd /home/tahoelafs/tahoelafs
218 218
     git checkout $TAHOELAFS_COMMIT -b $TAHOELAFS_COMMIT
219 219
     git submodule update --init --recursive
220
-    export TMPDIR=/home/tahoelafs/tmp
221
-    if [ ! $TMPDIR ]; then
222
-        mkdir $TMPDIR
223
-    fi
224 220
     virtualenv venv --distribute
225 221
     venv/bin/pip uninstall --yes setuptools
226 222
     venv/bin/pip install setuptools==11.3
@@ -248,7 +244,6 @@ function install_tahoelafs {
248 244
     su -c "$TAHOE_COMMAND create-introducer -C /home/tahoelafs/data --hide-ip --hostname=127.0.0.1" - tahoelafs
249 245
     TAHOELAFS_CONFIG=/home/tahoelafs/data/tahoe.cfg
250 246
     if [ ! -f $TAHOELAFS_CONFIG ]; then
251
-        export TMPDIR=/tmp
252 247
         exit 62831
253 248
     fi
254 249
 
@@ -280,8 +275,6 @@ function install_tahoelafs {
280 275
     systemctl start tahoelafs
281 276
 
282 277
     set_completion_param "tahoelafs commit" "$TAHOELAFS_COMMIT"
283
-    export TMPDIR=/tmp
284
-    rm -rf /home/tahoelafs/tmp
285 278
 
286 279
     APP_INSTALLED=1
287 280
 }