浏览代码

sydent upgrade

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

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

@@ -308,9 +308,15 @@ function reconfigure_matrix {
308 308
 function upgrade_matrix {
309 309
     function_check set_repo_commit
310 310
     set_repo_commit /etc/matrix "matrix commit" "$MATRIX_COMMIT" $MATRIX_REPO
311
+    cd /etc/matrix
312
+    pip install --upgrade --process-dependency-links .
311 313
 
314
+    set_repo_commit /etc/sydent "sydent commit" "$SYDENT_COMMIT" $SYDENT_REPO
315
+    cd /etc/sydent
312 316
     pip install --upgrade --process-dependency-links .
317
+
313 318
     chown -R matrix:matrix /etc/matrix
319
+    chown -R matrix:matrix /etc/sydent
314 320
     chown -R matrix:matrix $MATRIX_DATA_DIR
315 321
 }
316 322