Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Disable brew cask #37

Closed
sjackman opened this issue May 11, 2016 · 6 comments
Closed

Disable brew cask #37

sjackman opened this issue May 11, 2016 · 6 comments
Labels

Comments

@sjackman
Copy link
Member

sjackman commented May 11, 2016

Display a message that brew cask distributes Mac applications and is not available for Linuxbrew.

@sjackman sjackman added the bug label May 11, 2016
@sjackman
Copy link
Member Author

$ brew cask install google-chrome
Error: Permission denied @ dir_s_mkdir - /Library
  Most likely, this means you have an outdated version of homebrew-cask.

Not very helpful.

@jbcpollak
Copy link

This would be great, we use homebrew-bundle to install a bunch of programs through a Brewfile, and a bunch of them are Mac casks. It would be nice to ignore those instead of throwing errors.

@sjackman
Copy link
Member Author

I'd be happy to accept a PR that improves the above error message and ignores casks in the Brewfile (probably two separate PRs).

@jbcpollak
Copy link

jbcpollak commented Dec 28, 2016

@sjackman should the PR be for this project or homebrew-bundle? Maybe this should be bug in that project?

Or should it just be in this project to ignore all attempts at cask execution?

@sjackman
Copy link
Member Author

sjackman commented Jan 9, 2017

You can ask https://github.com/Homebrew/homebrew-bundle whether they would like to support Linux; my guess would be no, but I could be wrong. Linuxbrew does not yet have a fork of homebrew-bundle. I don't have the time myself to maintain that fork. Someone else could step up, if they wanted to fill that role. Linuxbrew/brew could definitely use a patch to give an informative message whenever a brew cask command is run saying that Linuxbrew does not yet support casks.

@rwhogg
Copy link
Contributor

rwhogg commented May 13, 2017

I fixed this here but forgot to close this issue when I did so.

@rwhogg rwhogg closed this as completed May 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants