Skip to content
Snippets Groups Projects
Commit ff3e0783 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove any earlier matrix config

parent bcab0a80
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,9 @@ function matrix_generate {
[[ "${REPORT_STATS}" != "yes" ]] && [[ "${REPORT_STATS}" != "no" ]] && \
echo "STOP! REPORT_STATS needs to be 'no' or 'yes'" && breakup="1"
if [ -f ${MATRIX_DATA_DIR}/homeserver.yaml ]; then
rm ${MATRIX_DATA_DIR}/homeserver.yaml
fi
matrix_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.yaml
matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.yaml
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment