mirror of https://github.com/samply/bridgehead.git
Merge pull request #122 from samply/check-curl
Check if curl is installed
This commit is contained in:
commit
50ef08ca6d
|
@ -51,6 +51,7 @@ Ensure the following software (or newer) is installed:
|
||||||
- docker >= 20.10.1
|
- docker >= 20.10.1
|
||||||
- docker-compose >= 2.xx (`docker-compose` and `docker compose` are both supported).
|
- docker-compose >= 2.xx (`docker-compose` and `docker compose` are both supported).
|
||||||
- systemd
|
- systemd
|
||||||
|
- curl
|
||||||
|
|
||||||
We recommend to install Docker(-compose) from its official sources as described on the [Docker website](https://docs.docker.com).
|
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
|
## Check if user is a su
|
||||||
log INFO "Checking if all prerequisites are met ..."
|
log INFO "Checking if all prerequisites are met ..."
|
||||||
prerequisites="git docker"
|
prerequisites="git docker curl"
|
||||||
for prerequisite in $prerequisites; do
|
for prerequisite in $prerequisites; do
|
||||||
$prerequisite --version 2>&1
|
$prerequisite --version 2>&1
|
||||||
is_available=$?
|
is_available=$?
|
||||||
|
|
Loading…
Reference in New Issue