From a6f7db4b46eb5840a45d8df9790f4e682c4bf48f Mon Sep 17 00:00:00 2001 From: Tasos Maschalidis Date: Thu, 28 Nov 2024 17:02:52 +0200 Subject: [PATCH] Skip sleep and warning of 'command_exists docker' when relevant flag is set Signed-off-by: Tasos Maschalidis --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3219205c..b6051a3f 100755 --- a/install.sh +++ b/install.sh @@ -359,7 +359,7 @@ check_forked() { do_install() { echo "# Executing docker install script, commit: $SCRIPT_COMMIT_SHA" - if command_exists docker; then + if [ -z "$SKIP_DOCKER_EXISTS_WARN" ] && command_exists docker; then cat >&2 <<-'EOF' Warning: the "docker" command appears to already exist on this system.