How to avoid installing cask if *.app is already installed on the Mac? #5078
Unanswered
lancejpollard
asked this question in
Casks
Replies: 1 comment
-
It already fails so it didn't install. If you want Homebrew to manage the existing install: https://docs.brew.sh/Tips-N'-Tricks#appoint-homebrew-cask-to-manage-a-manually-installed-app |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I am looking at https://github.com/Homebrew/homebrew-cask/blob/006622a075baf969440af1a64ffa7da5dc6bf422/Casks/j/j.rb#L15 for inspiration, but don't know how to use that
livecheck
or if that is even what I should be doing.I have a custom cask at https://github.com/termsurf/homebrew-load/blob/708e5cb0b38f8c8bc4d07b0e8270fe8b6515958c/Casks/task.rb which I'm trying to load
calibre
on, but it gives me an error:How do I either prompt the user to remove that, or avoid doing the installation for this piece
brew install calibre
within thecask
function of thetask.rb
?Relevant casks
https://github.com/termsurf/homebrew-load/blob/708e5cb0b38f8c8bc4d07b0e8270fe8b6515958c/Casks/task.rb
Beta Was this translation helpful? Give feedback.
All reactions