brew-pull: cleanup installation options.
This commit is contained in:
parent
755a2fbe52
commit
0151bf9b14
@ -80,8 +80,8 @@ ARGV.named.each do|arg|
|
|||||||
if (status == 'A' or status == 'M') and filename.include? '/Formula/' or tap url
|
if (status == 'A' or status == 'M') and filename.include? '/Formula/' or tap url
|
||||||
formula = File.basename(filename, '.rb')
|
formula = File.basename(filename, '.rb')
|
||||||
ohai "Installing #{formula}"
|
ohai "Installing #{formula}"
|
||||||
# Not sure if this is the best way to install?
|
install = Formula.factory(formula).installed? ? 'upgrade' : 'install'
|
||||||
safe_system 'brew', 'install', '--force', '--build-bottle', formula
|
safe_system 'brew', install, '--debug', '--fresh', formula
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user