|
|
|
|
683
|
if ! grep "#- webclient" $MATRIX_DATA_DIR/homeserver.yaml; then
|
683
|
if ! grep "#- webclient" $MATRIX_DATA_DIR/homeserver.yaml; then
|
684
|
sed -i 's|- webclient.*|#- webclient|g' $MATRIX_DATA_DIR/homeserver.yaml
|
684
|
sed -i 's|- webclient.*|#- webclient|g' $MATRIX_DATA_DIR/homeserver.yaml
|
685
|
fi
|
685
|
fi
|
686
|
- sed -i 's|names: [client, webclient]|names: [client]|g' $MATRIX_DATA_DIR/homeserver.yaml
|
|
|
|
|
686
|
+ sed -i 's|, webclient||g' $MATRIX_DATA_DIR/homeserver.yaml
|
687
|
|
687
|
|
688
|
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
|
688
|
chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
|
689
|
chown -R matrix:matrix /etc/matrix
|
689
|
chown -R matrix:matrix /etc/matrix
|