dotfiles/mail/.local
Marty Oehme 407ad0473f
mail: Fix mail-check hooks
Fixed running the hooks for `mail-check`. Command (or variable?)
substition prevented the hooks from running completely beforehand, so I
moved them to a separate function with the option remaining to call a
custom script for them through environment variables.

Ideally the env vars (`MBSYNC_PRE` and `MBSYNC_POST`) should only point
to a single script each, as more involved commands will presumably fail
to execute correctly when whitespace substition is involved.

See more explanation here:
https://unix.stackexchange.com/a/444949
2020-09-24 10:00:47 +02:00
..
bin mail: Fix mail-check hooks 2020-09-24 10:00:47 +02:00