summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2019-07-28 16:44:50 +0200
committerPatrick Simianer <pks@pks.rocks>2019-07-28 16:44:50 +0200
commit4f142da74e5091a8681ea34e8259e69d22ffe574 (patch)
treef4b1b824404ae32d09681925839368ca65188ee3
parent2f30c7844636cdbaa2d546d963702258f82646a3 (diff)
sync-mail: fix
-rwxr-xr-xsync-mail10
1 files changed, 5 insertions, 5 deletions
diff --git a/sync-mail b/sync-mail
index ca551ac..78fbc2f 100755
--- a/sync-mail
+++ b/sync-mail
@@ -7,18 +7,18 @@ if [[ $(uname) == "Linux" ]]; then
export PATH=/home/$(whoami)/.local/bin:$PATH
fi
-$(which imapfilter) -c $HOME/.imapfilter/private.lua 2>/dev/null
-if [[ ! -f ~/.holiday ]]; then
+$(which imapfilter) -c $HOME/.imapfilter/personal.lua 2>/dev/null
+if [[ ! -f ~/.ooo ]]; then
$(which imapfilter) -c $HOME/.imapfilter/work.lua 2>/dev/null
fi
case `date +"%a"` in
Sat|Sun)
- $(which mbsync) -q private
+ $(which mbsync) -q personal
;;
*)
- if [[ -f ~/.holiday ]]; then
- $(which mbsync) -q private
+ if [[ -f ~/.ooo ]]; then
+ $(which mbsync) -q personal
else
$(which mbsync) -q -a
fi