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

pip path

parent 855fe4e1
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ REPORT_STATS="no"
MATRIX_SECRET=
MATRIX_EXPIRE_MONTHS=1
MATRIX_PIP=/usr/bin/pip
MATRIX_PIP=/usr/local/bin/pip
MATRIX_PYTHON=/usr/bin/python
MATRIX_SHORT_DESCRIPTION=$'Chat system'
......@@ -821,6 +821,14 @@ function install_matrix {
increment_app_install_progress
if [ ! -f "$MATRIX_PIP" ]; then
if [[ "$MATRIX_PIP" == *'pip' ]]; then
MATRIX_PIP=$(which pip)
else
MATRIX_PIP=$(which pip3)
fi
fi
$MATRIX_PIP install --upgrade pip==9.0.3
increment_app_install_progress
......
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