瀏覽代碼

tahoelafs tor handler

Bob Mottram 7 年之前
父節點
當前提交
433f3596d5
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      src/freedombone-app-tahoelafs

+ 2
- 0
src/freedombone-app-tahoelafs 查看文件

@@ -361,6 +361,7 @@ function remove_tahoelafs {
361 361
     systemctl disable tahoelafs-client
362 362
     rm /etc/systemd/system/tahoelafs-client.service
363 363
 
364
+    pip uninstall tahoe-lafs[tor]
364 365
     apt-get -yq remove tahoe-lafs
365 366
 
366 367
     if [ -d /var/lib/tahoelafs ]; then
@@ -616,6 +617,7 @@ function install_tahoelafs {
616 617
     apt-get -yq install build-essential python-pip python-dev libffi-dev libssl-dev
617 618
     apt-get -yq install libcrypto++-dev python-pycryptopp python-cffi python-virtualenv
618 619
     apt-get -yq install tahoe-lafs
620
+    pip install tahoe-lafs[tor]
619 621
 
620 622
     # create a user
621 623
     if [ ! -d $TAHOE_DIR ]; then