diff options
author | mkomo <mkomodromos01@gmail.com> | 2019-08-12 21:13:06 +0300 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-08-12 14:13:06 -0400 |
commit | 856eea6d71a0a32cb9bea4ab704dc41f7619c18f (patch) | |
tree | 0a1c4b9b9278b6cb91467373e4f7f248b2344e80 /bin | |
parent | a244df88ef87b13166ad6643a699fe17485804e7 (diff) |
fix cronjob removed on purge (#269)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mw | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 } |