bundles/gitea: fix chmod
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-10-18 16:18:12 +02:00
parent e32ad2eb19
commit 4271c92d70
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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',
},
},
}