Update i2p domains during bdsmail upgrade if needed

This commit is contained in:
Bob Mottram 2018-02-14 13:24:52 +00:00
parent 0332699f60
commit 79448aa603
1 changed files with 4 additions and 0 deletions

View File

@ -164,6 +164,10 @@ function upgrade_bdsmail {
make GOROOT=/home/go/go${GO_VERSION} make GOROOT=/home/go/go${GO_VERSION}
chown -R i2psvc:i2psvc $BDSMAIL_DIR chown -R i2psvc:i2psvc $BDSMAIL_DIR
systemctl restart bdsmail systemctl restart bdsmail
if ! grep -q "$(bdsmail_domain)" /etc/skel/.mutt/bdsmail; then
bdsmail_update_domain
fi
} }
function backup_local_bdsmail { function backup_local_bdsmail {