Check if curl is installed

This commit is contained in:
janskiba 2023-09-21 16:23:22 +00:00
parent 6bb0471a64
commit c354c450f3
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ Ensure the following software (or newer) is installed:
- docker >= 20.10.1
- docker-compose >= 2.xx (`docker-compose` and `docker compose` are both supported).
- systemd
- curl
We recommend to install Docker(-compose) from its official sources as described on the [Docker website](https://docs.docker.com).

View File

@ -14,7 +14,7 @@ checkOwner /etc/bridgehead bridgehead || exit 1
## Check if user is a su
log INFO "Checking if all prerequisites are met ..."
prerequisites="git docker"
prerequisites="git docker curl"
for prerequisite in $prerequisites; do
$prerequisite --version 2>&1
is_available=$?