aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-05-23 18:14:35 +0100
committerMax Howell2009-05-23 18:21:35 +0100
commitdad6dbc6f78987c29a4332379a58d08e9c31ff42 (patch)
treed81bef8d691fc8a56757c6e0614b7bbf3e7641f3
parent87727356bc22793770556f33a096b02b8375084a (diff)
downloadbrew-dad6dbc6f78987c29a4332379a58d08e9c31ff42.tar.bz2
brew uninstall alias for brew rm
-rwxr-xr-xCellar/homebrew/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cellar/homebrew/brew b/Cellar/homebrew/brew
index 698bb643d..53ffa4aa0 100755
--- a/Cellar/homebrew/brew
+++ b/Cellar/homebrew/brew
@@ -37,7 +37,7 @@ case ARGV[0]
file+='.rb' unless File.exist? file
system "ruby #{file} #{ARGV.join ' '}"
- when 'rm' then
+ when 'rm', 'uninstall' then
path=$root+'Cellar'+ARGV[1]
abort "#{ARGV[1]} is not installed" unless path.directory?
path.rmtree