brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
OS::Mac::XQuartz.guess_system_version
The XQuartz that Apple shipped in OS X through 10.7 does not have a pkg-util entry, so if Spotlight indexing is disabled we must make an educated guess as to what version is installed.
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/os/mac/xquartz.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-OS--Mac--XQuartz-guess_system_version-for-pr
# Commit to gitgit add Library/Homebrew/os/mac/xquartz.rbgit commit -m "better docs for OS::Mac::XQuartz.guess_system_version"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-OS--Mac--XQuartz-guess_system_version-for-pr
hub pull-request
# Celebrate!