瀏覽代碼

Disable gnusocial and postactiv on onion only installs

There are database problems possibly related to being primarily on an onion address
Bob Mottram 7 年之前
父節點
當前提交
1eaefd9c36
共有 2 個檔案被更改,包括 4 行新增4 行删除
  1. 2
    2
      src/freedombone-app-gnusocial
  2. 2
    2
      src/freedombone-app-postactiv

+ 2
- 2
src/freedombone-app-gnusocial 查看文件

@@ -912,8 +912,8 @@ function install_gnusocial_main {
912 912
 }
913 913
 
914 914
 function install_gnusocial {
915
-    if [ ! "$ONION_ONLY" ]; then
916
-        ONION_ONLY='no'
915
+    if [[ "$ONION_ONLY" != 'no' ]]; then
916
+        return
917 917
     fi
918 918
 
919 919
     install_gnusocial_main

+ 2
- 2
src/freedombone-app-postactiv 查看文件

@@ -927,8 +927,8 @@ function install_postactiv_main {
927 927
 }
928 928
 
929 929
 function install_postactiv {
930
-    if [ ! "$ONION_ONLY" ]; then
931
-        ONION_ONLY='no'
930
+    if [[ "$ONION_ONLY" != 'no' ]]; then
931
+        return
932 932
     fi
933 933
 
934 934
     install_postactiv_main