Browse Source

Update i2p domains during bdsmail upgrade if needed

Bob Mottram 7 years ago
parent
commit
79448aa603
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-app-bdsmail

+ 4
- 0
src/freedombone-app-bdsmail View File

@@ -164,6 +164,10 @@ function upgrade_bdsmail {
164 164
     make GOROOT=/home/go/go${GO_VERSION}
165 165
     chown -R i2psvc:i2psvc $BDSMAIL_DIR
166 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 173
 function backup_local_bdsmail {