Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: install.sh error

sipc.ink1a5fec39c07d
diff --git a/scripts/install.sh b/scripts/install.sh
index f377c85bcd..588afc2438 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -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
;;