-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
How to migrate to the new location? #21913
Comments
Yes, the simplest thing would be to If we do wind up phasing out |
Closing the issue as it has been answered, but making it the default to answer the questions that arise. If new questions come up, we should edit @jawshooah’s comment to make it clearer. |
I just re-installed one of my Caskroom apps and noticed that it was still installed to /opt/homebrew-cask/Caskroom? Doesn't seem like homebrew-cask is properly defaulting? I don't have any HOMEBREW_CASK_OPTS options set. |
@tehmaspc same for me; it was the |
Ah. I tested my |
#21901 changed the behavior to default to the old location if it still exists and print a warning about the new default, to mitigate the issues brought about by the original change. No need to change |
After receiving the warning, I've moved my Caskroom to
|
@grootknol you have to brew cask install APP_NAME --force |
@grootknol This is a result of a known issue with |
Good to know, I just hit this. Currently have no Casks installed, but will open a PR when BBEdit 11.6 gets released. Assuming that @jawshooah is correct in how this should be handled, is it worth adding a line to the output of |
Could I just do |
for me I did |
@grootknol: Even simpler... |
I had a ton of Casks that were still symlinked from for f in ~/Applications/*.app; do oldloc="$(readlink "$f")"; [[ -e $oldloc ]] || ln -sf "/usr/local${oldloc#/opt/homebrew-cask}" "$f"; done Seems to have worked. |
The solutions presented in this thread should work equally well for other symlinked artifacts, so I'm locking it. Feel free to open a new issue if you have trouble. |
Good morning! Since the location change and #21901, I'm now seeing the warning about migrating Casks, as expected. I've searched around a bit but don't understand what I need to do as an end-user. Is there a command for migrating? Is it simply a move of the
/opt/homebrew-cask/Caskroom/
directory to/usr/local/Caskroom/
? A bit more info would be helpful as I don't want to muck anything up. Thanks!The text was updated successfully, but these errors were encountered: