Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/cmd/getgo: warn if user already have a Go installation #21217

Open
rakyll opened this issue Jul 29, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@rakyll
Copy link
Member

commented Jul 29, 2017

$ getgo
Welcome to the Go installer!
Downloading Go version go1.8.3 to /Users/jbd/.go
This may take a bit of time...
Downloaded!
Setting up GOPATH

One more thing! Run `source /Users/jbd/.zshrc` to persist the
new environment variables to your current session, or open a
new shell prompt.

Then when I do a which go in a new shell, it points to the earlier installation. We should probably warn the user if there is already a Go installation available (at a different location) on the system and recommend user to remove it before proceeding.

/cc @broady

@rakyll rakyll added this to the Unreleased milestone Jul 29, 2017

@mikioh mikioh changed the title cmd/getgo: warn if user already have a Go installation x/tools/cmd/getgo: warn if user already have a Go installation Aug 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.