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

pynacl version

parent c386fc32
No related branches found
No related tags found
No related merge requests found
......@@ -445,14 +445,14 @@ function upgrade_matrix {
export TMPDIR=/etc/matrix/tmp
pip install --upgrade --process-dependency-links .
pip install --upgrade --force "pynacl>=1.2.1"
pip install --upgrade --force "pynacl==0.3.0"
sed -i 's/ssl.PROTOCOL_SSLv23/ssl.PROTOCOL_TLSv1/g' /usr/local/bin/register_new_matrix_user
chown -R matrix:matrix /etc/matrix
chown -R matrix:matrix $MATRIX_DATA_DIR
pip install --upgrade --force "pynacl>=1.2.1"
pip install --upgrade --force "pynacl==0.3.0"
pip install --upgrade --force "canonicaljson>=1.1.3"
pip install --upgrade --force "phonenumbers>=8.2.0"
pip install --upgrade --force "sortedcontainers>=2.0.4"
......@@ -781,7 +781,7 @@ function install_matrix {
# wait for nginx to start otherwise user add fails later
sleep 5
pip install --upgrade --force "pynacl>=1.2.1"
pip install --upgrade --force "pynacl==0.3.0"
pip install --upgrade --force "canonicaljson>=1.1.3"
if [[ $(add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}" | tail -n 1) != "0" ]]; then
......
......@@ -721,6 +721,8 @@ if ! pip2 install pygments --upgrade; then
exit 357282
fi
pip2 install --upgrade --force "pynacl==0.3.0"
if [ ! -d ${SEARX_PATH} ]; then
mkdir -p $SEARX_PATH
fi
......
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