From 7c192ca04609dea4711bcd3ca2f46c68be5ba560 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 May 2018 12:50:58 +0100 Subject: [PATCH] pynacl version --- src/freedombone-app-matrix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 034e07c9..fa2ba9d4 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -431,7 +431,7 @@ function upgrade_matrix { chown -R matrix:matrix /etc/matrix 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" if [ -f /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.dhparam ]; then @@ -804,7 +804,7 @@ function install_matrix { # wait for nginx to start otherwise user add fails later 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 echo $'Failed to add matrix admin user';