From 7cdeb5d89517b01e088817e7cee94d5719d61719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Thu, 9 Apr 2026 11:13:23 +0200 Subject: [PATCH] install: Skip "docker already installed" warning in REPO_ONLY mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When REPO_ONLY=1, the script only sets up the package repository and exits. There's no reason to warn about Docker being already installed or sleep for 20 seconds in that case. Signed-off-by: Paweł Gronowski --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 699e76c6..00d22170 100755 --- a/install.sh +++ b/install.sh @@ -418,7 +418,7 @@ check_forked() { do_install() { echo "# Executing docker install script, commit: $SCRIPT_COMMIT_SHA" - if command_exists docker; then + if [ "$REPO_ONLY" != "1" ] && command_exists docker; then cat >&2 <<-'EOF' Warning: the "docker" command appears to already exist on this system.