Remove maildir for tox

This commit is contained in:
Bob Mottram 2015-10-26 08:19:07 +00:00
parent e754a7c7a0
commit d04277dbae
1 changed files with 4 additions and 0 deletions

View File

@ -8529,6 +8529,10 @@ function install_tox_node {
echo "File not found $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.conf"
exit 476835
fi
# remove Maildir
if [ -d /var/lib/tox-bootstrapd/Maildir ]; then
rm -rf /var/lib/tox-bootstrapd/Maildir
fi
# create configuration file
echo "port = $TOX_PORT" > /etc/tox-bootstrapd.conf