Fix key access

This commit is contained in:
AaronDewes 2022-06-07 13:50:56 +00:00
parent fb86c5c0b4
commit a08a027c46

4
scripts/configure vendored
View File

@ -55,9 +55,9 @@ def download_docker_compose():
compose_arch = 'x86_64'
# We validate that no other case than the two above can happen before
if is_compose_version_except(dependencies.compose):
if is_compose_version_except(dependencies['compose']):
print("Docker compose not found or not required version, updating.")
compose_url = 'https://github.com/docker/compose/releases/download/v{}/docker-compose-linux-{}'.format(dependencies.compose, compose_arch)
compose_url = 'https://github.com/docker/compose/releases/download/v{}/docker-compose-linux-{}'.format(dependencies['compose'], compose_arch)
compose_file = os.path.expanduser('~/.docker/cli-plugins/docker-compose')
subprocess.check_call(['wget', compose_url, '-O', compose_file])
os.chmod(compose_file, 0o755)