Преглед изворни кода

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 {