From 2db80ae3bbe22e328504c0ae991a865658abbbdf Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 23 Jun 2014 21:56:57 -0500 Subject: Remove opt link in Keg#uninstall --- Library/Homebrew/cmd/uninstall.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3