|
|
|
|
531
|
if [ ! -d $INSTALL_DIR/sydent ]; then
|
531
|
if [ ! -d $INSTALL_DIR/sydent ]; then
|
532
|
mkdir -p $INSTALL_DIR/sydent
|
532
|
mkdir -p $INSTALL_DIR/sydent
|
533
|
fi
|
533
|
fi
|
|
|
534
|
+ if [ -d $INSTALL_DIR/sydent ]; then
|
|
|
535
|
+ rm -rf $INSTALL_DIR/sydent/*
|
|
|
536
|
+ fi
|
534
|
pip install --upgrade --process-dependency-links . -b $INSTALL_DIR/sydent
|
537
|
pip install --upgrade --process-dependency-links . -b $INSTALL_DIR/sydent
|
535
|
if [ ! "$?" = "0" ]; then
|
538
|
if [ ! "$?" = "0" ]; then
|
536
|
echo $'Failed to install matrix identity server'
|
539
|
echo $'Failed to install matrix identity server'
|