Skip to content
Snippets Groups Projects
Commit 0151bf9b authored by Mike McQuaid's avatar Mike McQuaid
Browse files

brew-pull: cleanup installation options.

parent 755a2fbe
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment