From 6bfe969333983858b9790947f908209ee3bb55fa Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 28 Jan 2015 11:30:36 +0100 Subject: [PATCH 1/1] conditionally call notmuch after sync --- .offlineimaprc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5