瀏覽代碼

Create matrix config

Bob Mottram 8 年之前
父節點
當前提交
bcab0a806b
共有 1 個檔案被更改,包括 2 行新增4 行删除
  1. 2
    4
      src/freedombone-app-matrix

+ 2
- 4
src/freedombone-app-matrix 查看文件

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