brew-pull: cleanup installation options.

This commit is contained in:
Mike McQuaid 2013-01-02 21:13:56 +00:00
parent 755a2fbe52
commit 0151bf9b14

View File

@ -80,8 +80,8 @@ ARGV.named.each do|arg|
if (status == 'A' or status == 'M') and filename.include? '/Formula/' or tap url
formula = File.basename(filename, '.rb')
ohai "Installing #{formula}"
# Not sure if this is the best way to install?
safe_system 'brew', 'install', '--force', '--build-bottle', formula
install = Formula.factory(formula).installed? ? 'upgrade' : 'install'
safe_system 'brew', install, '--debug', '--fresh', formula
end
end
end