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

Change global install path from custom to /usr/local/bin #44

Merged
merged 1 commit into from
Jan 5, 2018

Conversation

yonaskolb
Copy link
Owner

@yonaskolb yonaskolb commented Jan 5, 2018

This is an alternative to #41.

It changes the global installation path from a custom one that need a new $PATH entry, to the standard /usr/local/bin. The installed file is still symlinked to Mint's own directory.

This greatly simplifies things and keeps Mint out of peoples bash configs.

Mint asks for confirmation before trying to overwrite or remove an existing executable that is not symlinked to mint.

With this method, I'd be more comfortable making Mint install globally by default

@yonaskolb
Copy link
Owner Author

@orta @SDGGiesbrecht

@SDGGiesbrecht
Copy link
Contributor

I think that should be fine. It may increase the vulnerability to permissions issues, but those are hard to predict anyway.

@orta
Copy link
Contributor

orta commented Jan 5, 2018

Yeah, this makes sense to me and generally seems to be the route that brew, rbenv, nvm and others take 👍

@yonaskolb yonaskolb merged commit 9ea9ecf into master Jan 5, 2018
@yonaskolb yonaskolb deleted the bin_install_path branch January 6, 2018 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants