diff --git a/scripts/install.sh b/scripts/install.sh index 2aaaebaef..2e25b9a38 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -93,7 +93,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)