|
|
|
|
597
|
if [ ! -d $INSTALL_DIR/matrix ]; then
|
597
|
if [ ! -d $INSTALL_DIR/matrix ]; then
|
598
|
mkdir -p $INSTALL_DIR/matrix
|
598
|
mkdir -p $INSTALL_DIR/matrix
|
599
|
fi
|
599
|
fi
|
|
|
600
|
+ rm -rf /usr/local/lib/python2.7/dist-packages/ldap*
|
|
|
601
|
+ if [ -d $INSTALL_DIR/matrix ]; then
|
|
|
602
|
+ rm -rf $INSTALL_DIR/matrix/*
|
|
|
603
|
+ fi
|
600
|
pip install --upgrade --process-dependency-links . -b $INSTALL_DIR/matrix
|
604
|
pip install --upgrade --process-dependency-links . -b $INSTALL_DIR/matrix
|
601
|
if [ ! "$?" = "0" ]; then
|
605
|
if [ ! "$?" = "0" ]; then
|
602
|
echo $'Failed to install matrix home server'
|
606
|
echo $'Failed to install matrix home server'
|