浏览代码

Remove matrix web client

Bob Mottram 8 年前
父节点
当前提交
5fee9464d1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone-app-matrix

+ 1
- 0
src/freedombone-app-matrix 查看文件

648
     if ! grep "#- webclient" $MATRIX_DATA_DIR/homeserver.yaml; then
648
     if ! grep "#- webclient" $MATRIX_DATA_DIR/homeserver.yaml; then
649
         sed -i 's|- webclient.*|#- webclient|g' $MATRIX_DATA_DIR/homeserver.yaml
649
         sed -i 's|- webclient.*|#- webclient|g' $MATRIX_DATA_DIR/homeserver.yaml
650
     fi
650
     fi
651
+    sed -i 's|names: [client, webclient]|names: [client]|g' $MATRIX_DATA_DIR/homeserver.yaml
651
 
652
 
652
     chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
653
     chmod -R 700 $MATRIX_DATA_DIR/homeserver.yaml
653
     chown -R matrix:matrix /etc/matrix
654
     chown -R matrix:matrix /etc/matrix