Additional package needed for matrix

This commit is contained in:
Bob Mottram 2018-05-23 12:53:45 +01:00
parent 7c192ca046
commit 159ee9002c
1 changed files with 2 additions and 0 deletions

View File

@ -432,6 +432,7 @@ function upgrade_matrix {
chown -R matrix:matrix $MATRIX_DATA_DIR
pip install --upgrade --force "pynacl>=1.2.1"
pip install --upgrade --force "canonicaljson>=1.1.3"
pip install --upgrade --force "phonenumbers>=8.2.0"
if [ -f /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.dhparam ]; then
@ -805,6 +806,7 @@ function install_matrix {
sleep 5
pip install --upgrade --force "pynacl>=1.2.1"
pip install --upgrade --force "canonicaljson>=1.1.3"
if [[ $(add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}" | tail -n 1) != "0" ]]; then
echo $'Failed to add matrix admin user';