From 1d81d6b39302bc968397835da34db98ad0fb2200 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 17 Jun 2010 12:39:01 +0100 Subject: [PATCH] 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. --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index fa6bf75ac1..de6aa7dbb7 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 -[xcode]:http://developer.apple.com/technology/xcode.html -[mxcl]:http://twitter.com/mxcl [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