Skip to content
Snippets Groups Projects
Commit 7c192ca0 authored by Bob Mottram's avatar Bob Mottram
Browse files

pynacl version

parent 7a6c52b4
No related branches found
No related tags found
No related merge requests found
...@@ -431,7 +431,7 @@ function upgrade_matrix { ...@@ -431,7 +431,7 @@ function upgrade_matrix {
chown -R matrix:matrix /etc/matrix chown -R matrix:matrix /etc/matrix
chown -R matrix:matrix $MATRIX_DATA_DIR chown -R matrix:matrix $MATRIX_DATA_DIR
pip install --upgrade --force "pynacl==0.3.0" pip install --upgrade --force "pynacl>=1.2.1"
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
...@@ -804,7 +804,7 @@ function install_matrix { ...@@ -804,7 +804,7 @@ function install_matrix {
# wait for nginx to start otherwise user add fails later # wait for nginx to start otherwise user add fails later
sleep 5 sleep 5
pip install --upgrade --force "pynacl==0.3.0" pip install --upgrade --force "pynacl>=1.2.1"
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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment