aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMartin Afanasjew2016-04-06 01:45:02 +0200
committerMartin Afanasjew2016-04-07 08:25:41 +0200
commit2ca97490afd02e104ee989baaab779199b36651b (patch)
treea4fee702b3eb9957287108e2684b4ef01f1d8e3c /Library/Homebrew
parentd83cd56603bcf208ee7a245b7cf44809cfbc7fdc (diff)
downloadbrew-2ca97490afd02e104ee989baaab779199b36651b.tar.bz2
brew.sh: fix HOMEBREW_OS_VERSION on Linux et al.
On Linux (and other non-OS X platforms), `HOMEBREW_OS_VERSION` was *always* replaced with the product name, leading to less useful user agent. E.g., on a reasonably up-to-date Debian system: Linuxbrew/0.9.9 (Linux; unknown Linuxbrew) With this fix the user agent is instead (first if `lsb_release` is available and outputs something, second otherwise): Linuxbrew/0.9.9 (Linux; unknown Debian GNU/Linux 8.3 (jessie)) Linuxbrew/0.9.9 (Linux; unknown 3.16.0-4-amd64)
Diffstat (limited to 'Library/Homebrew')
0 files changed, 0 insertions, 0 deletions