From f1edaf09ba9a157409a16088410433af62a840fa Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 31 Dec 2016 13:31:40 +0000 Subject: [PATCH] sydent upgrade --- src/freedombone-app-matrix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 80770f6c..98be0205 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -308,9 +308,15 @@ function reconfigure_matrix { function upgrade_matrix { function_check set_repo_commit set_repo_commit /etc/matrix "matrix commit" "$MATRIX_COMMIT" $MATRIX_REPO - + cd /etc/matrix pip install --upgrade --process-dependency-links . + + set_repo_commit /etc/sydent "sydent commit" "$SYDENT_COMMIT" $SYDENT_REPO + cd /etc/sydent + pip install --upgrade --process-dependency-links . + chown -R matrix:matrix /etc/matrix + chown -R matrix:matrix /etc/sydent chown -R matrix:matrix $MATRIX_DATA_DIR }