diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-04-26 12:12:03 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-26 12:12:03 -0400 |
commit | eb51f388cd44b25611b44650f5e88addd8f6711e (patch) | |
tree | a2b1af3c4212d4e5b672205bf0c0e75bd5fcc075 | |
parent | f106dbd363267662ae473124458c8929fec20e0a (diff) |
fix junk rm
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -182,7 +182,7 @@ formatShortcut() { \ tryconnect() { mkdir -p "$maildir/$title" if mailboxes="$(mbsync -l "$title" | sed 's/\//./')" >/dev/null 2>&1 && [ -n "$mailboxes" ]; then - [ "$accounttype" = "online" ] && sed -ibu "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc" ; rm -f "$mbsync"bu + [ "$accounttype" = "online" ] && sed -ibu "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc" ; rm -f "$mbsyncrc"bu printf "\033[32mMailboxes detected.\033[0m\\n" echo "$mailboxes" | xargs -I {} mkdir -p "$maildir/$title/{}" return 0 |