fix: install.sh error

This commit is contained in:
sipc.ink 2024-05-05 21:11:44 +08:00
parent baca57062e
commit 1a5fec39c0

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
;;