Merge pull request #1899 from reitermarkus/fix-installer
Fix installer deleting artifacts if they already exist.
This commit is contained in:
		
						commit
						d6932548f8
					
				@ -141,8 +141,8 @@ module Hbc
 | 
			
		||||
 | 
			
		||||
      artifacts.each do |artifact|
 | 
			
		||||
        odebug "Installing artifact of class #{artifact}"
 | 
			
		||||
        already_installed_artifacts.unshift(artifact)
 | 
			
		||||
        artifact.new(@cask, options).install_phase
 | 
			
		||||
        already_installed_artifacts.unshift(artifact)
 | 
			
		||||
      end
 | 
			
		||||
    rescue StandardError => e
 | 
			
		||||
      begin
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user