sydent upgrade

This commit is contained in:
Bob Mottram 2016-12-31 13:31:40 +00:00
parent e50691d56e
commit f1edaf09ba
1 changed files with 7 additions and 1 deletions

View File

@ -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
}