Skip to content
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

Formula issue with league-of-legends #2446

Closed
tsantor opened this issue Jan 16, 2014 · 4 comments
Closed

Formula issue with league-of-legends #2446

tsantor opened this issue Jan 16, 2014 · 4 comments

Comments

@tsantor
Copy link

tsantor commented Jan 16, 2014

Each time I do a brew doctor I get the following error. I am not using the formula, so it doesn't affect me, but just wanted to make you aware. I am on OS X 10.9.1.

$ brew doctor
Error: Failed to import: league-of-legends
No available formula for league-of-legends 
Your system is ready to brew.
@vitorgalvao
Copy link
Member

Please run this one-liner. It should fix it.

For a quick usage, the code outlined there is ls -l /usr/local/Library/Formula | grep phinze-cask | awk '{print $9}' | for evil_symlink in $(cat -); do rm -v /usr/local/Library/Formula/$evil_symlink; done.

@tsantor
Copy link
Author

tsantor commented Jan 16, 2014

Thanks. That stopped the error. But is that really a fix or a band-aid as it simply removes the offending symlink?

@vitorgalvao
Copy link
Member

In a way, both. Yes, it only removes the offending link, but the issue that caused that error has since been fixed, so you should not see it again.

@tsantor
Copy link
Author

tsantor commented Jan 16, 2014

Perfect thanks.

@tsantor tsantor closed this as completed Jan 16, 2014
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants