From: martin f. krafft Date: Wed, 28 Jan 2015 10:30:36 +0000 (+0100) Subject: conditionally call notmuch after sync X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/6bfe969333983858b9790947f908209ee3bb55fa?ds=sidebyside;pf=etc conditionally call notmuch after sync --- diff --git a/.offlineimaprc b/.offlineimaprc index 1a97e5c..9838742 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -22,7 +22,7 @@ remoterepository = madduck.net autorefresh = 15 quick = 16 status_backend = sqlite -#postsynchook = ionice -c3 nice -20 notmuch new +postsynchook = ! command -v notmuch >/dev/null || ionice -c3 nice -20 notmuch new [Account madduck.net_bulk] localrepository = local-main