aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2017-01-23 18:00:04 +0100
committerGitHub2017-01-23 18:00:04 +0100
commitd6932548f89c48e6c33df4c24685ae58904e9b7a (patch)
tree2defd35962f9866c1a8773c608062e9d19cd102a /Library
parente59ada508727f11464595893783beb914c26f60b (diff)
parentf23c127cde7b3e678555efc8c0d405247a6975b7 (diff)
downloadbrew-d6932548f89c48e6c33df4c24685ae58904e9b7a.tar.bz2
Merge pull request #1899 from reitermarkus/fix-installer
Fix installer deleting artifacts if they already exist.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/installer.rb b/Library/Homebrew/cask/lib/hbc/installer.rb
index 3875e1c8f..465011735 100644
--- a/Library/Homebrew/cask/lib/hbc/installer.rb
+++ b/Library/Homebrew/cask/lib/hbc/installer.rb
@@ -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