summaryrefslogtreecommitdiff
path: root/mw
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-17 15:42:00 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-17 15:42:00 -0400
commita799ffb1577e22f81cd55b7eda2b34e87708d621 (patch)
treebafa8b92102addd64a595c62224ad4303c80b18a /mw
parent4ef7bc58eb8a743e8793edceaca8b0d506cb21b3 (diff)
big fix
Diffstat (limited to 'mw')
-rwxr-xr-xmw2
1 files changed, 1 insertions, 1 deletions
diff --git a/mw b/mw
index 32cb6fc..8a42743 100755
--- a/mw
+++ b/mw
@@ -174,7 +174,7 @@ EOF
echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source $accdir/$title.muttrc<enter><change-folder>!<enter>;<check-stats>'" >> "$muttdir/personal.muttrc"
! grep "^source.*.muttrc" "$muttdir/personal.muttrc" >/dev/null && echo "source $accdir/$title.muttrc" >> "$muttdir/personal.muttrc"
trysync && finalize
- [ "$accounttype" = "offline" ] && sed -i "/IMAPAccount $title$/,/# End profile/d" "$mbsyncrc"
+ [ "$accounttype" = "offline" ] || sed -i "/IMAPAccount $title$/,/# End profile/d" "$mbsyncrc"
}
getpass() { \