Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Fixed logic for dependency checks #220
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Jan 27, 2022
1 parent 65be8ca commit 8c4223e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ function install-docker() {
echo "Initialize dockerd configuration"
echo "{}" >/etc/docker/daemon.json
fi
if ! type jq >/dev/null 2>&1 && tool_will_be_installed "jq"; then
if type jq >/dev/null 2>&1 || tool_will_be_installed "jq"; then
echo "Waiting for jq"
wait_for_tool "jq"

Expand Down Expand Up @@ -1292,7 +1292,7 @@ function install-crun() {
echo "Install binary"
curl -sL "https://github.com/nicholasdille/crun-static/releases/download/v${CRUN_VERSION}/crun.tar.gz" \
| tar -xzC "${TARGET}" --no-same-owner
if ! type jq >/dev/null 2>&1 && tool_will_be_installed "jq"; then
if type jq >/dev/null 2>&1 || tool_will_be_installed "jq"; then
echo "Waiting for jq"
wait_for_tool "jq"

Expand Down Expand Up @@ -1640,7 +1640,7 @@ function install-gvisor() {
echo "Set executable bits"
chmod +x "${TARGET}/bin/runsc"
chmod +x "${TARGET}/bin/containerd-shim-runsc-v1"
if ! type jq >/dev/null 2>&1 && tool_will_be_installed "jq"; then
if type jq >/dev/null 2>&1 || tool_will_be_installed "jq"; then
echo "Waiting for jq"
wait_for_tool "jq"

Expand Down

0 comments on commit 8c4223e

Please sign in to comment.