diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index d54711ce..740456a6 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -531,6 +531,9 @@ function install_identity_server { if [ ! -d $INSTALL_DIR/sydent ]; then mkdir -p $INSTALL_DIR/sydent fi + if [ -d $INSTALL_DIR/sydent ]; then + rm -rf $INSTALL_DIR/sydent/* + fi pip install --upgrade --process-dependency-links . -b $INSTALL_DIR/sydent if [ ! "$?" = "0" ]; then echo $'Failed to install matrix identity server'