Remove matrix web client

This commit is contained in:
Bob Mottram 2017-02-08 19:34:01 +00:00
parent 7d143bce4d
commit 5fee9464d1
1 changed files with 1 additions and 0 deletions

View File

@ -648,6 +648,7 @@ function install_home_server {
if ! grep "#- webclient" $MATRIX_DATA_DIR/homeserver.yaml; then if ! grep "#- webclient" $MATRIX_DATA_DIR/homeserver.yaml; then
sed -i 's|- webclient.*|#- webclient|g' $MATRIX_DATA_DIR/homeserver.yaml sed -i 's|- webclient.*|#- webclient|g' $MATRIX_DATA_DIR/homeserver.yaml
fi fi
sed -i 's|names: [client, webclient]|names: [client]|g' $MATRIX_DATA_DIR/homeserver.yaml
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
chown -R matrix:matrix /etc/matrix chown -R matrix:matrix /etc/matrix