-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is "Cask for * is already installed" really an error ? #1347
Comments
Good point! It's probably more of a warning. And also could probably use a |
For the moment, I use my function: # easy cask install function
function caskinstall() {
brew cask install "${@}" 2> /dev/null
} but it won't display any errors. Fortunately for me I DO NOT MAKE ANY ERROR. |
I have cask installed on two machines one it appears as a warning the other an error. I don't believe I did anything different. |
I have upgraded to v0.36.0 from 35. It now shows "Error" consistently on both machines. Is this the expected functionality? |
separately; it is already descended from CaskError
Including the case where a Cask is already installed. Always continue installing when multiple Casks are specified, only raising an exception at the end of the command (if some portion of the attempted install actions failed). Never exit with an error code if "already installed" was the only problem seen during the run. Also tweak error messages. Fixes Homebrew#1347, Homebrew#2677, Homebrew#4785 Required disabling two tests regarding suggestions on Cask spelling errors.
I'm using cask in my bootstrap script I run periodically on differents machines to sync them.
So I got the "Error: Cask for * is already installed. Use
--force
to install anyways." often.Is this really considered as an error ? I think it's should be more a
Warning
.Or is there a way to make those error silent ? I don't find anything in the USAGE.md
Thanks !
The text was updated successfully, but these errors were encountered: