Merge pull request #3244 from agorgl/patch-1

fix: setup script doesn't work on rhel based images with some curl variant already installed
This commit is contained in:
Andras Bacsai 2024-08-29 14:28:14 +02:00 committed by GitHub
commit b64a126c89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,7 +94,10 @@ centos | fedora | rhel | ol | rocky | almalinux | amzn)
if ! command -v dnf >/dev/null; then
yum install -y dnf >/dev/null
fi
dnf install -y curl wget git jq >/dev/null
if ! command -v curl >/dev/null; then
dnf install -y curl >/dev/null
fi
dnf install -y wget git jq >/dev/null
fi
;;
sles | opensuse-leap | opensuse-tumbleweed)