Procházet zdrojové kódy

Disable gnusocial and postactiv on onion only installs

There are database problems possibly related to being primarily on an onion address
Bob Mottram před 7 roky
rodič
revize
1eaefd9c36
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 2
    2
      src/freedombone-app-gnusocial
  2. 2
    2
      src/freedombone-app-postactiv

+ 2
- 2
src/freedombone-app-gnusocial Zobrazit soubor

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

+ 2
- 2
src/freedombone-app-postactiv Zobrazit soubor

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