Goles/Battery

Permission problem in one liner install

Ajeo opened this issue · 4 comments

Ajeo commented

I have to add sudo to curl command:

brew install spark;  sudo curl -O https://raw.github.com/Goles/Battery/master/battery ; \ sudo mv battery /usr/bin; sudo chmod 755 /usr/bin/battery

Really?

That's weird, are you sure that you're running the one liner on a dir where you have write permissions? (Like ~/)

Ajeo commented

In the Readme says "Cut & Paste on terminal to install on /usr/bin":

Terminal output

Ok, maybe I should have been more clear. You don't need to run this from /usr/bin , just run it from your home directory (~/)

Updated the README.md