Revert "brew reinstall: Is able to work for all formulae"

This reverts commit 865f763ae59fdf32f496ca416fd98117f3370f86.
This commit is contained in:
Samuel John 2013-08-21 20:17:38 +02:00
parent 4bb49a6439
commit 5a0bad6b42

View File

@ -6,9 +6,6 @@ module Homebrew extend self
# At first save the named formulae and remove them from ARGV # At first save the named formulae and remove them from ARGV
named = ARGV.named named = ARGV.named
ARGV.delete_if { |arg| named.include? arg } ARGV.delete_if { |arg| named.include? arg }
# We add --force because then uninstall always succeeds and so reinstall
# works for formulae not yet installed.
ARGV << "--force"
clean_ARGV = ARGV.clone clean_ARGV = ARGV.clone
# Add the used_options for each named formula separately so # Add the used_options for each named formula separately so