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.

Update installation script to include curl and wget

Andras Bacsai44f6d936390c
diff --git a/app/Actions/Server/InstallDocker.php b/app/Actions/Server/InstallDocker.php
index 08874fc812..a580c34732 100644
--- a/app/Actions/Server/InstallDocker.php
+++ b/app/Actions/Server/InstallDocker.php
@@ -48,20 +48,19 @@ class InstallDocker
$command = $command->merge([
"echo 'Installing Prerequisites...'",
"command -v jq >/dev/null || apt-get update -y",
- "command -v jq >/dev/null || apt install -y jq",
+ "command -v jq >/dev/null || apt install -y curl wget git jq",
]);
} else if ($supported_os_type->contains('rhel')) {
$command = $command->merge([
"echo 'Installing Prerequisites...'",
- "command -v jq >/dev/null || dnf update -y",
- "command -v jq >/dev/null || dnf install -y jq",
+ "command -v jq >/dev/null || dnf install -y curl wget git jq",
]);
} else if ($supported_os_type->contains('sles')) {
$command = $command->merge([
"echo 'Installing Prerequisites...'",
"command -v jq >/dev/null || zypper update -y",
- "command -v jq >/dev/null || zypper install -y jq",
+ "command -v jq >/dev/null || zypper install -y curl wget git jq",
]);
} else {
throw new \Exception('Unsupported OS');
diff --git a/scripts/install.sh b/scripts/install.sh
index 6a4e1c9f3a..85bc58aadd 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -46,7 +46,6 @@ ubuntu | debian | raspbian)
apt install -y curl wget git jq >/dev/null 2>&1
;;
centos | fedora | rhel | ol | rocky)
- dnf update -y >/dev/null 2>&1
dnf install -y curl wget git jq >/dev/null 2>&1
;;
sles | opensuse-leap | opensuse-tumbleweed)