aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/uninstall.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/uninstall.rb')
-rw-r--r--Library/Homebrew/cmd/uninstall.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb
index e925edbaa..cf4f098ee 100644
--- a/Library/Homebrew/cmd/uninstall.rb
+++ b/Library/Homebrew/cmd/uninstall.rb
@@ -12,7 +12,7 @@ module Homebrew extend self
keg.unlink
keg.uninstall
rm_opt_link keg.fname
- unpin keg.fname
+ rm_pin keg.fname
end
end
else
@@ -49,7 +49,7 @@ module Homebrew extend self
optlink.unlink if optlink.symlink?
end
- def unpin name
+ def rm_pin name
Formula.factory(name).unpin rescue nil
end
end