From 1e7126b7b3f0de75d1c8af5c6e52a3cc48bc373d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 6 Dec 2017 23:11:21 +0100 Subject: sync-mail: fix on Linux --- sync-mail | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3