Browse Source

Disable gnusocial and postactiv on onion only installs

There are database problems possibly related to being primarily on an onion address
Bob Mottram 7 years ago
parent
commit
1eaefd9c36
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      src/freedombone-app-gnusocial
  2. 2
    2
      src/freedombone-app-postactiv

+ 2
- 2
src/freedombone-app-gnusocial View File

@@ -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 View File

@@ -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