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

Upgrade python command within matrix daemon

parent df5695df
No related branches found
No related tags found
No related merge requests found
......@@ -448,6 +448,11 @@ function upgrade_matrix {
fi
export TMPDIR=/etc/matrix/tmp
if ! grep -q "$MATRIX_PYTHON" /etc/systemd/system/matrix.service; then
sed -i "s|/usr/bin/python|$MATRIX_PYTHON|g" /etc/systemd/system/matrix.service
systemctl daemon-reload
fi
$MATRIX_PIP install --upgrade --process-dependency-links .
$MATRIX_PIP install --upgrade --force "pynacl>=1.2.1"
......
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