From 1ff7186229a9fd6adfdafce500f7da5f155fd912 Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Thu, 2 Dec 2021 06:51:56 +0100 Subject: [PATCH] Update configure --- scripts/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/configure b/scripts/configure index c458278..28eeefc 100755 --- a/scripts/configure +++ b/scripts/configure @@ -50,7 +50,7 @@ def is_compose_rc_or_outdated(): def download_docker_compose(): # Skip if os.path.expanduser('~/.docker/cli-plugins/docker-compose') exists subprocess.check_call(["mkdir", "-p", os.path.expanduser('~/.docker/cli-plugins/')]) - if (os.path.exists(os.path.expanduser('~/.docker/cli-plugins/docker-compose')) or os.path.exists('/usr/lib/docker/cli-plugins/docker-compose')) and not is_compose_rc(): + if (os.path.exists(os.path.expanduser('~/.docker/cli-plugins/docker-compose')) or os.path.exists('/usr/lib/docker/cli-plugins/docker-compose')) and not is_compose_rc_or_outdated(): return if is_arm64: subprocess.check_call(['wget', 'https://github.com/docker/compose/releases/download/v2.2.1/docker-compose-linux-aarch64', '-O', os.path.expanduser('~/.docker/cli-plugins/docker-compose')])