diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index fcfef847..d54711ce 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -597,6 +597,10 @@ function install_home_server { if [ ! -d $INSTALL_DIR/matrix ]; then mkdir -p $INSTALL_DIR/matrix fi + rm -rf /usr/local/lib/python2.7/dist-packages/ldap* + if [ -d $INSTALL_DIR/matrix ]; then + rm -rf $INSTALL_DIR/matrix/* + fi pip install --upgrade --process-dependency-links . -b $INSTALL_DIR/matrix if [ ! "$?" = "0" ]; then echo $'Failed to install matrix home server'