diff options
author | Patrick Simianer <p@simianer.de> | 2016-12-27 09:50:21 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-12-27 09:50:21 +0100 |
commit | fb83125d5972171feb2718623fe88b83160fbd72 (patch) | |
tree | f4aed9116c085bfaa106befc6945c8853890239e | |
parent | f7c8277fd3de5e3aa300f9d20953d77a2b920ea9 (diff) |
holiday switch
-rwxr-xr-x | offlineimap-switch | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/offlineimap-switch b/offlineimap-switch index be2103a..261518d 100755 --- a/offlineimap-switch +++ b/offlineimap-switch @@ -5,7 +5,11 @@ case `date +"%a"` in offlineimap -a private ;; *) - offlineimap + if [[ -f ~/.holiday ]]; then + offlineimap -a private + else + offlineimap + fi ;; esac |