Browse Source

Create matrix config

Bob Mottram 8 years ago
parent
commit
bcab0a806b
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      src/freedombone-app-matrix

+ 2
- 4
src/freedombone-app-matrix View File

@@ -103,10 +103,8 @@ function matrix_generate {
103 103
     [[ "${REPORT_STATS}" != "yes" ]] && [[ "${REPORT_STATS}" != "no" ]] && \
104 104
         echo "STOP! REPORT_STATS needs to be 'no' or 'yes'" && breakup="1"
105 105
 
106
-    matrix_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.tmp
107
-    matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.tmp
108
-
109
-    mv ${MATRIX_DATA_DIR}/homeserver.tmp ${MATRIX_DATA_DIR}/homeserver.yaml
106
+    matrix_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.yaml
107
+    matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.yaml
110 108
 }
111 109
 
112 110
 function remove_user_matrix {