Fix installer deleting artifacts if they already exist.

This commit is contained in:
Markus Reiter 2017-01-23 14:19:14 +01:00
parent 3be56aee71
commit f23c127cde

View File

@ -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