summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-12-06 23:11:21 +0100
committerPatrick Simianer <p@simianer.de>2017-12-06 23:11:21 +0100
commit1e7126b7b3f0de75d1c8af5c6e52a3cc48bc373d (patch)
tree44d266cc5ac2dd852cab4901e6f38628201da960
parent3585022268dc5b80aa5ce8e3de9db8b144ff417c (diff)
sync-mail: fix on Linux
-rwxr-xr-xsync-mail3
1 files changed, 3 insertions, 0 deletions
diff --git a/sync-mail b/sync-mail
index 41af354..ca551ac 100755
--- a/sync-mail
+++ b/sync-mail
@@ -3,6 +3,9 @@
if [[ $(uname) == "Darwin" ]]; then
export PATH=/Users/$(whoami)/.local/bin:$PATH
fi
+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