brew-pull: fix --install
This commit is contained in:
		
							parent
							
								
									9c757d6ee2
								
							
						
					
					
						commit
						32d8574d8c
					
				@ -134,9 +134,9 @@ ARGV.named.each do |arg|
 | 
			
		||||
 | 
			
		||||
  if ARGV.include? '--install'
 | 
			
		||||
    changed_formulae.each do |f|
 | 
			
		||||
      ohai "Installing #{formula}"
 | 
			
		||||
      ohai "Installing #{f.name}"
 | 
			
		||||
      install = f.installed? ? 'upgrade' : 'install'
 | 
			
		||||
      safe_system 'brew', install, '--debug', formula
 | 
			
		||||
      safe_system 'brew', install, '--debug', f.name
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user