Make it a sudo one-liner
Rationale: if you want complete control then you will most likely not like the `sudo chown -R` step as it's nuts.
This commit is contained in:
parent
aa46db87a7
commit
1d81d6b393
21
README.md
21
README.md
@ -5,8 +5,7 @@ Features and usage are [summarized on the homepage][homepage].
|
|||||||
|
|
||||||
Quick Install to /usr/local
|
Quick Install to /usr/local
|
||||||
---------------------------
|
---------------------------
|
||||||
[The script](http://gist.github.com/323731) will prompt for confirmation
|
[This script][gist] will prompt for confirmation before it does anything:
|
||||||
before it does anything:
|
|
||||||
|
|
||||||
ruby -e "$(curl -fsS http://gist.github.com/raw/436471/install_homebrew.rb)"
|
ruby -e "$(curl -fsS http://gist.github.com/raw/436471/install_homebrew.rb)"
|
||||||
|
|
||||||
@ -18,12 +17,12 @@ Umm… I thought I could install it anywhere?
|
|||||||
Indeed, you can. Refer to our [complete installation instructions][install].
|
Indeed, you can. Refer to our [complete installation instructions][install].
|
||||||
|
|
||||||
|
|
||||||
Dude! Just give me a two-liner!
|
Dude! Just give me a one-liner!
|
||||||
-------------------------------
|
-------------------------------
|
||||||
Alright then… as long as you know what you are doing:
|
Okay then, but please note this installs Homebrew as root and
|
||||||
|
[we recommend against that][sudo].
|
||||||
|
|
||||||
sudo chown -R $USER /usr/local
|
curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1
|
||||||
curl -Lsf http://github.com/mxcl/homebrew/tarball/master | tar xvz -C/usr/local --strip 1
|
|
||||||
|
|
||||||
|
|
||||||
More Documentation
|
More Documentation
|
||||||
@ -36,8 +35,10 @@ Who Are You?
|
|||||||
I'm [Max Howell][mxcl] and I'm a splendid chap.
|
I'm [Max Howell][mxcl] and I'm a splendid chap.
|
||||||
|
|
||||||
|
|
||||||
[wiki]:http://wiki.github.com/mxcl/homebrew
|
|
||||||
[install]:http://wiki.github.com/mxcl/homebrew/installation
|
|
||||||
[xcode]:http://developer.apple.com/technology/xcode.html
|
|
||||||
[mxcl]:http://twitter.com/mxcl
|
|
||||||
[homepage]:http://mxcl.github.com/homebrew
|
[homepage]:http://mxcl.github.com/homebrew
|
||||||
|
[gist]:http://gist.github.com/323731
|
||||||
|
[xcode]:http://developer.apple.com/technology/xcode.html
|
||||||
|
[install]:http://wiki.github.com/mxcl/homebrew/installation
|
||||||
|
[sudo]:http://wiki.github.com/mxcl/homebrew/installation#sudo
|
||||||
|
[wiki]:http://wiki.github.com/mxcl/homebrew
|
||||||
|
[mxcl]:http://twitter.com/mxcl
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user