From bcab0a806bf103f8d2dd1dfb86c7b15741ab36e8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Dec 2016 18:06:23 +0000 Subject: [PATCH] Create matrix config --- src/freedombone-app-matrix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index fd59b8da..c1f11176 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -103,10 +103,8 @@ function matrix_generate { [[ "${REPORT_STATS}" != "yes" ]] && [[ "${REPORT_STATS}" != "no" ]] && \ echo "STOP! REPORT_STATS needs to be 'no' or 'yes'" && breakup="1" - matrix_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.tmp - matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.tmp - - mv ${MATRIX_DATA_DIR}/homeserver.tmp ${MATRIX_DATA_DIR}/homeserver.yaml + matrix_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.yaml + matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.yaml } function remove_user_matrix {