diff options
| author | Markus Reiter | 2017-05-19 19:13:23 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-05-22 02:51:16 +0200 |
| commit | 9e821863d0ed97254bbae314b97af18d2f09cdfa (patch) | |
| tree | ec0f30fc60dab1b4d3de17a8fc163de6658913ea /Library/Homebrew/cask/lib/hbc/cli | |
| parent | 8f068a356dfe4769905d2487533b9e8124287098 (diff) | |
| download | brew-9e821863d0ed97254bbae314b97af18d2f09cdfa.tar.bz2 | |
Pass along `CLI::Binaries`.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/install.rb | 8 | ||||
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/reinstall.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/uninstall.rb | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/install.rb b/Library/Homebrew/cask/lib/hbc/cli/install.rb index 438f860c1..5b5ef82c4 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/install.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/install.rb @@ -19,10 +19,10 @@ module Hbc cask_tokens.each do |cask_token| begin cask = CaskLoader.load(cask_token) - Installer.new(cask, - force: force, - skip_cask_deps: skip_cask_deps, - require_sha: require_sha).install + Installer.new(cask, binaries: CLI.binaries?, + force: force, + skip_cask_deps: skip_cask_deps, + require_sha: require_sha).install count += 1 rescue CaskAlreadyInstalledError => e opoo e.message diff --git a/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb b/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb index c2ed8f462..662899d5f 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb @@ -8,6 +8,7 @@ module Hbc cask = CaskLoader.load(cask_token) Installer.new(cask, + binaries: CLI.binaries?, force: force, skip_cask_deps: skip_cask_deps, require_sha: require_sha).reinstall diff --git a/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb b/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb index 1ee3230ad..7fc40daaf 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb @@ -17,7 +17,7 @@ module Hbc cask = CaskLoader.load_from_file(cask.installed_caskfile) if cask.installed_caskfile.exist? end - Installer.new(cask, force: force).uninstall + Installer.new(cask, binaries: CLI.binaries?, force: force).uninstall next if (versions = cask.versions).empty? |
