Skip to content

Commit

Permalink
Merge pull request #134 from jeroenj/cask-urls
Browse files Browse the repository at this point in the history
Updates cask URLs
  • Loading branch information
tas50 authored Oct 4, 2018
2 parents 05fcfbb + 62fa93b commit d33bc1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ end

Resource for `brew cask`, a Homebrew-style CLI workflow for the administration of Mac applications distributed as binaries. It's implemented as a homebrew "external command" called cask.

[homebrew-cask on GitHub](https://github.com/caskroom/homebrew-cask)
[homebrew-cask on GitHub](https://github.com/Homebrew/homebrew-cask)

#### Actions

Expand All @@ -107,7 +107,7 @@ homebrew_cask "Let's remove google-chrome" do
end
```

[View the list of available Casks](https://github.com/caskroom/homebrew-cask/tree/master/Casks)
[View the list of available Casks](https://github.com/Homebrew/homebrew-cask/tree/master/Casks)

## Attributes

Expand Down
2 changes: 1 addition & 1 deletion recipes/cask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# limitations under the License.
#

homebrew_tap 'caskroom/cask'
homebrew_tap 'homebrew/cask'

directory '/Library/Caches/Homebrew/Casks' do
owner Homebrew.owner
Expand Down
4 changes: 2 additions & 2 deletions resources/cask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
property :owner, String, default: lazy { Homebrew.owner } # lazy to prevent breaking compilation on non-macOS platforms

action :install do
homebrew_tap 'caskroom/cask' if new_resource.install_cask
homebrew_tap 'homebrew/cask' if new_resource.install_cask

unless casked?
converge_by("install cask #{new_resource.name} #{new_resource.options}") do
Expand All @@ -42,7 +42,7 @@
end

action :remove do
homebrew_tap 'caskroom/cask' if new_resource.install_cask
homebrew_tap 'homebrew/cask' if new_resource.install_cask

if casked?
converge_by("uninstall cask #{new_resource.name}") do
Expand Down

0 comments on commit d33bc1c

Please sign in to comment.