Skip to content

Commit 8fb5881

Browse files
authored
Merge pull request #553 from vvoland/repo-nowarn
install: Skip "docker already installed" warning in REPO_ONLY mode
2 parents c04fb16 + 7cdeb5d commit 8fb5881

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ check_forked() {
418418
do_install() {
419419
echo "# Executing docker install script, commit: $SCRIPT_COMMIT_SHA"
420420

421-
if command_exists docker; then
421+
if [ "$REPO_ONLY" != "1" ] && command_exists docker; then
422422
cat >&2 <<-'EOF'
423423
Warning: the "docker" command appears to already exist on this system.
424424

0 commit comments

Comments
 (0)