mutt-wizard

A wizard that autocreates an offline email setup for (neo)mutt with isync/mbsync
Log | Files | Refs | README | LICENSE

commit 856eea6d71a0a32cb9bea4ab704dc41f7619c18f
parent a244df88ef87b13166ad6643a699fe17485804e7
Author: mkomo <mkomodromos01@gmail.com>
Date:   Mon, 12 Aug 2019 21:13:06 +0300

fix cronjob removed on purge (#269)


Diffstat:
Mbin/mw | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bin/mw b/bin/mw @@ -293,6 +293,7 @@ asktype() { while : ; do purge() { confirm "delete all account data" || exit rm -rf "$mbsyncrc" "$accdir" "$HOME/.config/msmtp" "$cachedir" + crontab -l | sed '/mailsync/d' | crontab - >/dev/null echo "All configs and account settings have been purged." sed -ibu "/\# mw-autogenerated/d" "$muttrc" ; rm -f "$muttrc"bu }