浏览代码

Update i2p domains during bdsmail upgrade if needed

Bob Mottram 7 年前
父节点
当前提交
79448aa603
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone-app-bdsmail

+ 4
- 0
src/freedombone-app-bdsmail 查看文件

164
     make GOROOT=/home/go/go${GO_VERSION}
164
     make GOROOT=/home/go/go${GO_VERSION}
165
     chown -R i2psvc:i2psvc $BDSMAIL_DIR
165
     chown -R i2psvc:i2psvc $BDSMAIL_DIR
166
     systemctl restart bdsmail
166
     systemctl restart bdsmail
167
+
168
+    if ! grep -q "$(bdsmail_domain)" /etc/skel/.mutt/bdsmail; then
169
+        bdsmail_update_domain
170
+    fi
167
 }
171
 }
168
 
172
 
169
 function backup_local_bdsmail {
173
 function backup_local_bdsmail {