mirror of https://github.com/samply/bridgehead.git
Check if curl is installed
This commit is contained in:
parent
6bb0471a64
commit
c354c450f3
|
@ -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).
|
||||
|
||||
|
|
|
@ -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=$?
|
||||
|
|
Loading…
Reference in New Issue