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

Commit 63a64b5

Browse files
committed
Added obvious note about postinstall #6270
1 parent 33b40df commit 63a64b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmd/docker-setup/install.go

+6
Original file line numberDiff line numberDiff line change
@@ -304,5 +304,11 @@ func installTools(requestedTools tool.Tools, check bool, plan bool, reinstall bo
304304
tool.CreateMarkerFile(prefix + "/" + cacheDirectory)
305305
}
306306

307+
if len(prefix) > 0 {
308+
pterm.Warning.Printfln("Post installation skipped because prefix is set to %s", prefix)
309+
pterm.Warning.Printfln("Please run 'docker-setup postinstall' in the context of %s to complete the installation", prefix)
310+
return nil
311+
}
312+
307313
return postinstall()
308314
}

0 commit comments

Comments
 (0)