Fix installer deleting artifacts if they already exist.
This commit is contained in:
parent
3be56aee71
commit
f23c127cde
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user