diff options
| author | Markus Reiter | 2017-01-23 18:00:04 +0100 |
|---|---|---|
| committer | GitHub | 2017-01-23 18:00:04 +0100 |
| commit | d6932548f89c48e6c33df4c24685ae58904e9b7a (patch) | |
| tree | 2defd35962f9866c1a8773c608062e9d19cd102a /Library | |
| parent | e59ada508727f11464595893783beb914c26f60b (diff) | |
| parent | f23c127cde7b3e678555efc8c0d405247a6975b7 (diff) | |
| download | brew-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.rb | 2 |
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 |
