pynacl version

This commit is contained in:
Bob Mottram 2018-05-23 12:50:58 +01:00
parent 7a6c52b487
commit 7c192ca046
1 changed files with 2 additions and 2 deletions

View File

@ -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';