From 4c3dcb350066802311b52151f0f73c5bbe2603e0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 29 Aug 2010 15:04:48 -0400 Subject: [PATCH] another example of fixups hook --- mrconfig.complex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mrconfig.complex b/mrconfig.complex index a80e981..a7d8551 100644 --- a/mrconfig.complex +++ b/mrconfig.complex @@ -71,9 +71,9 @@ checkout = mkdir Maildir Maildir/cur Maildir/new Maildir/tmp; chmod 700 Maildir status = : [mail] -# I use mairix to index my mail archive; run it after each update. checkout = git clone ssh://joey@git.kitenet.net/srv/git/joey/private/mail -update = git pull "$@"; if [ "$(which mairix)" ]; then mairix -Q; fi +# I use mairix to index my mail archive; keep its index up-to-date. +fixups = if [ "$(which mairix)" ]; then ionice -c 3 mairix -Q; fi skip = ! mylaptop [tmp] -- 2.39.2