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

Make it work well with Ubuntu #11

Closed
jinalskothari opened this issue Sep 15, 2014 · 2 comments
Closed

Make it work well with Ubuntu #11

jinalskothari opened this issue Sep 15, 2014 · 2 comments

Comments

@jinalskothari
Copy link

It is my understanding that on Ubuntu the ~/.bashrc file needs to be update instead of ~/.bash_profile. I don't know much shell scripting, but could this script detect the distribution and make the changes in the right file?

@jinalskothari
Copy link
Author

If lsb_release tool is present on system,
OS=$(lsb_release -si)
ARCH=$(uname -m | sed 's/x86_//;s/i[3-6]86/32/')
VER=$(lsb_release -sr)

$OS is equal to 'Ubuntu' on my Ubuntu 14.04 release. Not sure which other versions would this work with.

@obestwalter
Copy link
Collaborator

This overlaps with #15 - which I just picked up to look into it. I definitely would like to see this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants