|
@@ -303,7 +303,10 @@ function install_matrix {
|
303
|
303
|
cd /etc/matrix
|
304
|
304
|
git checkout $MATRIX_COMMIT -b $MATRIX_COMMIT
|
305
|
305
|
set_completion_param "matrix commit" "$MATRIX_COMMIT"
|
306
|
|
- pip install --upgrade --process-dependency-links .
|
|
306
|
+ if [ ! -d $INSTALL_DIR/matrix ]; then
|
|
307
|
+ mkdir -p $INSTALL_DIR/matrix
|
|
308
|
+ fi
|
|
309
|
+ pip install --upgrade --process-dependency-links . -b $INSTALL_DIR/matrix
|
307
|
310
|
if [ ! "$?" = "0" ]; then
|
308
|
311
|
exit 782542
|
309
|
312
|
fi
|