aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2010-06-17 12:39:01 +0100
committerMax Howell2010-06-17 12:39:01 +0100
commit1fa6a8afc810770be792fa93a555004c31630dcc (patch)
tree184396291b9a0eeac91d32b71d37e42bba7c177e
parent01d9f20e650a687dde5c9306d01d9c9b87e0a540 (diff)
downloadhomebrew-1fa6a8afc810770be792fa93a555004c31630dcc.tar.bz2
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.
-rw-r--r--README.md19
1 files changed, 10 insertions, 9 deletions
diff --git a/README.md b/README.md
index fa6bf75ac..de6aa7dbb 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,7 @@ Features and usage are [summarized on the homepage][homepage].
Quick Install to /usr/local
---------------------------
-[The script](http://gist.github.com/323731) will prompt for confirmation
-before it does anything:
+[This script][gist] will prompt for confirmation before it does anything:
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].
-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 -Lsf http://github.com/mxcl/homebrew/tarball/master | tar xvz -C/usr/local --strip 1
+ curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1
More Documentation
@@ -36,8 +35,10 @@ Who Are You?
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
+[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
-[homepage]:http://mxcl.github.com/homebrew