Update i2p domains during bdsmail upgrade if needed
This commit is contained in:
parent
0332699f60
commit
79448aa603
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue