Merge pull request #1899 from reitermarkus/fix-installer

Fix installer deleting artifacts if they already exist.
This commit is contained in:
Markus Reiter 2017-01-23 18:00:04 +01:00 committed by GitHub
commit d6932548f8

View File

@ -141,8 +141,8 @@ module Hbc
artifacts.each do |artifact| artifacts.each do |artifact|
odebug "Installing artifact of class #{artifact}" odebug "Installing artifact of class #{artifact}"
already_installed_artifacts.unshift(artifact)
artifact.new(@cask, options).install_phase artifact.new(@cask, options).install_phase
already_installed_artifacts.unshift(artifact)
end end
rescue StandardError => e rescue StandardError => e
begin begin