This repository has been archived by the owner. It is now read-only.

Symlink latest version of install to 'current' in Cellar #14154

Closed
tvon opened this Issue Aug 13, 2012 · 4 comments

Comments

Projects
None yet
3 participants
Contributor

tvon commented Aug 13, 2012

So, for example, when the latest MySQL is installed to /usr/local/Cellar/mysql/5.5.25a it would create a symlink from /usr/local/cellar/mysql/current.

Owner

MikeMcQuaid commented Aug 13, 2012

This has been proposed and may be the case for Homebrew 2 but currently there is too much code that assumes otherwise. We have something similar in Library/LinkedKegs; hopefully that will suffice for now. Sorry!

Contributor

tvon commented Aug 13, 2012

Thanks for the response. I understand if the topic that's already been discussed and triaged, but out of curiosity, if /usr/local/Cellar/mysql/5.5.25a/ is still there then what kind of problems does /usr/local/Cellar/mysql/current/ also being there cause?

Contributor

jacknagel commented Aug 13, 2012

It will appear to all code that enumerates kegs that the version "current" is installed.

Contributor

tvon commented Aug 13, 2012

Ahhh, problematic indeed...

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.