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: setup script doesn't work on rhel based images with some curl variant already installed

Loukas Agorgianitis39804a7b2055
diff --git a/scripts/install.sh b/scripts/install.sh
index 2aaaebaef1..2e25b9a386 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)