Merge pull request #2149 from SIPC/fix-install.sh-error
fix: install.sh error
This commit is contained in:
commit
7431bd69e9
@ -73,6 +73,9 @@ centos | fedora | rhel | ol | rocky | almalinux | amzn)
|
|||||||
if [ "$OS_TYPE" = "amzn" ]; then
|
if [ "$OS_TYPE" = "amzn" ]; then
|
||||||
dnf install -y wget git jq >/dev/null 2>&1
|
dnf install -y wget git jq >/dev/null 2>&1
|
||||||
else
|
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
|
dnf install -y curl wget git jq >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user