aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-12-08 19:54:52 +0000
committerMax Howell2009-12-12 16:23:03 +0000
commit635cb27d133d38bf2c8c433783ba2b8eb1f3aeb6 (patch)
tree9b614d01128ab656ada0676f14db22878ab9cc36
parent4254661c66a3567cb098f9f92ec1bc1d301c1503 (diff)
downloadbrew-635cb27d133d38bf2c8c433783ba2b8eb1f3aeb6.tar.bz2
Unlink before uninstalling
Nice bug there where we never removed any symlinks, because the unlink step requires the keg to be full of files to determine what symlinks to remove.
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 3bb11b385..03acffbc6 100755
--- a/bin/brew
+++ b/bin/brew
@@ -161,8 +161,8 @@ begin
when 'rm', 'uninstall', 'remove'
ARGV.kegs.each do |keg|
puts "Uninstalling #{keg}..."
- keg.uninstall
keg.unlink
+ keg.uninstall
end
when 'prune'