diff --git a/install_on_linux.sh b/install_on_linux.sh index 5ca8bc2..0a763b0 100755 --- a/install_on_linux.sh +++ b/install_on_linux.sh @@ -6,7 +6,7 @@ ARCHITECTURE=amd64 if [ "$(uname -m)" = "aarch64" ]; then ARCHITECTURE=arm64 fi -COMPOSE_SWITCH_VERSION=$(curl -sI https://github.com/docker/compose-switch/releases/latest | grep '^location:' | sed 's,.*/,,' | tr -d '\r') +COMPOSE_SWITCH_VERSION=$(curl -sI https://github.com/docker/compose-switch/releases/latest | grep -i '^location:' | sed 's,.*/,,' | tr -d '\r') COMPOSE_SWITCH_URL="https://github.com/docker/compose-switch/releases/download/${COMPOSE_SWITCH_VERSION}/docker-compose-linux-${ARCHITECTURE}" if ! docker compose version >/dev/null 2>&1; then