aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2017-01-23 14:19:14 +0100
committerMarkus Reiter2017-01-23 14:19:14 +0100
commitf23c127cde7b3e678555efc8c0d405247a6975b7 (patch)
treed3740f1c5913b1aeddf791a191e23cf2385ae00c /Library
parent3be56aee71da207dbc491b5d9bfd803fb8201f9a (diff)
downloadbrew-f23c127cde7b3e678555efc8c0d405247a6975b7.tar.bz2
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