4 ms·
The installer seems to look for apt-get, yum or up2date to find out if a system runs Linux. $ uname Linux Seriously.
by aristidb 14y ago
The installer seems to look for apt-get, yum or up2date to find out if a system runs Linux.
$ uname
Linux
Seriously.
- ranza 14y agoIts using that later for installing packages using its native package system
- aristidb 14y agoIf I understand the code right, it only installs things automatically when it detects homebrew. Besides, it _assumes you're on a Mac_ if none of these three programs are found.
- Wilya 14y agoFrom what I can guess, if you happen to be on a non-supported linux distribution (or any non-OSX OS with sh, really) and have clang installed, the script will go as far as running https://raw.github.com/mxcl/homebrew/go https://raw.github.com/mxcl/homebrew/go which should fail fast for lack of a /usr/bin/sw_vers binary. I'm not brave enough to actually run the script and check, though.
- salmanapk 14y agoGo fix it?