Remove any earlier matrix config
This commit is contained in:
parent
bcab0a806b
commit
ff3e0783b0
|
@ -103,6 +103,9 @@ function matrix_generate {
|
||||||
[[ "${REPORT_STATS}" != "yes" ]] && [[ "${REPORT_STATS}" != "no" ]] && \
|
[[ "${REPORT_STATS}" != "yes" ]] && [[ "${REPORT_STATS}" != "no" ]] && \
|
||||||
echo "STOP! REPORT_STATS needs to be 'no' or 'yes'" && breakup="1"
|
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_generate_synapse_file ${MATRIX_DATA_DIR}/homeserver.yaml
|
||||||
matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.yaml
|
matrix_configure_homeserver_yaml "${turnkey}" ${MATRIX_DATA_DIR}/homeserver.yaml
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue