summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xofflineimap-switch6
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