mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-02 18:19:07 +00:00
fix: setup script doesn't work on rhel based images with some curl variant already installed
This commit is contained in:
+4
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user