Merge pull request #2149 from SIPC/fix-install.sh-error

fix: install.sh error
This commit is contained in:
Andras Bacsai 2024-05-06 12:31:06 +02:00 committed by GitHub
commit 7431bd69e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,6 +73,9 @@ centos | fedora | rhel | ol | rocky | almalinux | amzn)
if [ "$OS_TYPE" = "amzn" ]; then
dnf install -y wget git jq >/dev/null 2>&1
else
if ! command -v dnf >/dev/null 2>&1; then
yum install -y dnf >/dev/null 2>&1
fi
dnf install -y curl wget git jq >/dev/null 2>&1
fi
;;