diff options
| author | Markus Reiter | 2017-11-29 15:00:57 +0100 |
|---|---|---|
| committer | GitHub | 2017-11-29 15:00:57 +0100 |
| commit | 3f7e63a24c7a449eeed3d5dcee1f209b924d58cb (patch) | |
| tree | c9053c96df0826a03f3e80aaa3b141ba336d53fe /Library/Homebrew/cask/lib/hbc/cli | |
| parent | 6cf38d0dd87ab215bc5be13bf98f3654531b6ef4 (diff) | |
| parent | 96187ade92c9ab222a5bc03aae96aa80ba80a6ae (diff) | |
| download | brew-3f7e63a24c7a449eeed3d5dcee1f209b924d58cb.tar.bz2 | |
Merge pull request #3492 from amyspark/fix-latest-casks
Properly upgrade Casks with version :latest
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/upgrade.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb b/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb index bd80ad690..808b64c4b 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb @@ -55,14 +55,14 @@ module Hbc new_cask_installer.fetch - new_cask_installer.stage - # Move the old Cask's artifacts back to staging old_cask_installer.start_upgrade # And flag it so in case of error started_upgrade = true # Install the new Cask + new_cask_installer.stage + new_cask_installer.install_artifacts new_artifacts_installed = true |
