aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/uninstall.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-23 21:56:57 -0500
committerJack Nagel2014-06-23 22:34:41 -0500
commit76e86891e4846b6b728ac87d3af76820e662d975 (patch)
tree3a96db890abe2c5010fd69b361d7269e0091e530 /Library/Homebrew/cmd/uninstall.rb
parentde24d731725a0a6be1339fbdd879f12a136c037d (diff)
downloadbrew-76e86891e4846b6b728ac87d3af76820e662d975.tar.bz2
Remove opt link in Keg#uninstall
Diffstat (limited to 'Library/Homebrew/cmd/uninstall.rb')
-rw-r--r--Library/Homebrew/cmd/uninstall.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb
index a7b426c0c..91551c442 100644
--- a/Library/Homebrew/cmd/uninstall.rb
+++ b/Library/Homebrew/cmd/uninstall.rb
@@ -11,7 +11,6 @@ module Homebrew
puts "Uninstalling #{keg}..."
keg.unlink
keg.uninstall
- rm_opt_link keg.fname
rm_pin keg.fname
end
end
@@ -29,7 +28,6 @@ module Homebrew
end
end
- rm_opt_link name
rm_pin name
end
end
@@ -38,11 +36,6 @@ module Homebrew
puts "Use `brew remove --force #{e.name}` to remove all versions."
end
- def rm_opt_link name
- optlink = HOMEBREW_PREFIX.join("opt", name)
- optlink.unlink if optlink.symlink?
- end
-
def rm_pin name
Formulary.factory(name).unpin rescue nil
end