From 4271c92d702d3aaf8c72861c5a4629f37ebec22f Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 18 Oct 2020 16:18:12 +0200 Subject: [PATCH] bundles/gitea: fix chmod --- bundles/gitea/items.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/gitea/items.py b/bundles/gitea/items.py index 98be19b..50d5f5a 100644 --- a/bundles/gitea/items.py +++ b/bundles/gitea/items.py @@ -3,7 +3,6 @@ downloads = { 'url': 'https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-amd64'.format(version=node.metadata['gitea']['version']), 'sha256': node.metadata['gitea']['sha256'], 'triggers': { - 'action:chmod_gitea', 'svc_systemd:gitea:restart', }, }, @@ -14,7 +13,6 @@ directories = { 'owner': 'git', 'mode': '0700', 'triggers': { - 'action:chmod_gitea', 'svc_systemd:gitea:restart', }, }, @@ -24,7 +22,9 @@ actions = { 'chmod_gitea': { 'command': 'chmod a+x /usr/local/bin/gitea', 'unless': 'test -x /usr/local/bin/gitea', - 'triggered': True, + 'needs': { + 'download:/usr/local/bin/gitea', + }, }, }