diff options
| author | Jack Nagel | 2014-06-23 21:56:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-23 22:34:41 -0500 |
| commit | 2db80ae3bbe22e328504c0ae991a865658abbbdf (patch) | |
| tree | 0188a1c03decec88dd41ef1d5afb661d5135693a /Library/Homebrew/cmd | |
| parent | 60fdf0011608ea78863f170046f2d0052afbe45f (diff) | |
| download | homebrew-2db80ae3bbe22e328504c0ae991a865658abbbdf.tar.bz2 | |
Remove opt link in Keg#uninstall
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/uninstall.rb | 7 |
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 |
