소스 검색

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