Additional package needed for matrix
This commit is contained in:
parent
7c192ca046
commit
159ee9002c
|
@ -432,6 +432,7 @@ function upgrade_matrix {
|
||||||
chown -R matrix:matrix $MATRIX_DATA_DIR
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
||||||
|
|
||||||
pip install --upgrade --force "pynacl>=1.2.1"
|
pip install --upgrade --force "pynacl>=1.2.1"
|
||||||
|
pip install --upgrade --force "canonicaljson>=1.1.3"
|
||||||
pip install --upgrade --force "phonenumbers>=8.2.0"
|
pip install --upgrade --force "phonenumbers>=8.2.0"
|
||||||
|
|
||||||
if [ -f /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.dhparam ]; then
|
if [ -f /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.dhparam ]; then
|
||||||
|
@ -805,6 +806,7 @@ function install_matrix {
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
pip install --upgrade --force "pynacl>=1.2.1"
|
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
|
if [[ $(add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}" | tail -n 1) != "0" ]]; then
|
||||||
echo $'Failed to add matrix admin user';
|
echo $'Failed to add matrix admin user';
|
||||||
|
|
Loading…
Reference in New Issue