diff --git a/src/freedombone-app-edith b/src/freedombone-app-edith index e897c96e..a9293fe8 100755 --- a/src/freedombone-app-edith +++ b/src/freedombone-app-edith @@ -262,6 +262,10 @@ function install_edith { EDITH_ONION_HOSTNAME=$(add_onion_service edith 80 ${EDITH_ONION_PORT}) + if [ -d /var/www/$EDITH_DOMAIN_NAME/htdocs ]; then + rm -rf /var/www/$EDITH_DOMAIN_NAME/htdocs + fi + if [ -d /repos/edith ]; then mkdir /var/www/$EDITH_DOMAIN_NAME/htdocs cp -r -p /repos/edith/. /var/www/$EDITH_DOMAIN_NAME/htdocs