Sfoglia il codice sorgente

Matrix not available on onion only installs

Bob Mottram 7 anni fa
parent
commit
35c6a6f9e2
2 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 4
    0
      src/freedombone-app-matrix
  2. 4
    0
      src/freedombone-app-riot

+ 4
- 0
src/freedombone-app-matrix Vedi File

@@ -626,6 +626,10 @@ function install_home_server {
626 626
 }
627 627
 
628 628
 function install_matrix {
629
+    if [[ $ONION_ONLY != 'no' ]]; then
630
+        return
631
+    fi
632
+
629 633
     check_ram_availability 1500
630 634
 
631 635
     if [ ! -d $INSTALL_DIR ]; then

+ 4
- 0
src/freedombone-app-riot Vedi File

@@ -207,6 +207,10 @@ function remove_riot {
207 207
 }
208 208
 
209 209
 function install_riot {
210
+    if [[ $ONION_ONLY != 'no' ]]; then
211
+        return
212
+    fi
213
+
210 214
     # check that matrix has been installed
211 215
     if [ ! $MATRIX_DOMAIN_NAME ]; then
212 216
         exit 687292