Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

"brew prune" doesn't seem to do anything. #2

Closed
adamv opened this issue Jul 31, 2009 · 4 comments
Closed

"brew prune" doesn't seem to do anything. #2

adamv opened this issue Jul 31, 2009 · 4 comments

Comments

@adamv
Copy link
Contributor

adamv commented Jul 31, 2009

Looking at the code, "brew prune ..." doesn't seem to actually do anything.

@mxcl
Copy link
Contributor

mxcl commented Jul 31, 2009

It should remove symlinks that no longer point to anything, it gets run after an rm to clean up /usr/local, I think it works but will check later, going out now…

@mxcl
Copy link
Contributor

mxcl commented Aug 1, 2009

I did:

rm -rf /usr/local/Cellar/git
brew prune

And it removed all the links that did point to git stuff. Does this not work for you?

@adamv
Copy link
Contributor Author

adamv commented Aug 3, 2009

This works; not sure what I was missing originally, sorry.

@adamv
Copy link
Contributor Author

adamv commented Aug 3, 2009

Closing.

@ghost ghost mentioned this issue Nov 12, 2011
@erbmicha erbmicha mentioned this issue Jul 14, 2013
@niklassaers niklassaers mentioned this issue Dec 5, 2013
@Homebrew Homebrew locked and limited conversation to collaborators Oct 10, 2015
This issue was closed.
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