From 5bd642236c17ba77fdf638a03a0aaccdeffe012f Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 9 Nov 2020 16:36:26 +0100 Subject: [PATCH] bundles/postfix: only call newaliases if we already have postfix installed --- bundles/postfix/items.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundles/postfix/items.py b/bundles/postfix/items.py index 11aa735..e5f27b0 100644 --- a/bundles/postfix/items.py +++ b/bundles/postfix/items.py @@ -32,6 +32,9 @@ actions = { 'postfix_newaliases': { 'command': 'newaliases', 'triggered': True, + 'needs': { + 'pkg_apt:postfix', + }, }, }