|
|
@@ -367,7 +367,7 @@ asktype() { |
|
|
|
|
|
|
|
mwpurge() { |
|
|
|
confirm "delete all account data" || exit |
|
|
|
rm -rf "$mwmbsyncrc" "$mwaccrcdir" "$mwconfigdir/msmtp" "${mwmbsyncrc%/*}" "$mwcachedir" |
|
|
|
rm -rf "$mwmbsyncrc" "$mwaccrcdir" "$mwconfigdir/msmtp" "$mwcachedir" |
|
|
|
pgrep cron >/dev/null && crontab -l | sed '/mailsync/d' | crontab - >/dev/null |
|
|
|
sed -i "/\# mw-autogenerated/d" "$mwmuttrc" |
|
|
|
echo "All configs and account settings have been purged." |
|
|
|