brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Hbc::Pkg#clean_broken_symlinks

Some packages leave broken symlinks around; we clean them out before
attempting to `rmdir` to prevent extra cruft from lying around.

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/cask/pkg.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Hbc--Pkg-clean_broken_symlinks-for-pr


# Commit to git

git add Library/Homebrew/cask/pkg.rbgit commit -m "better docs for Hbc::Pkg#clean_broken_symlinks"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Hbc--Pkg-clean_broken_symlinks-for-pr

hub pull-request


# Celebrate!