984 Commits

Author SHA1 Message Date
Mike McQuaid
0f09260c76 install: improve handling of shared groups.
Closes #26184.
2014-03-12 17:05:14 +00:00
kalaker
32a3498abe install: ENTER to RETURN
Since users will be on OS X, most will have a return key instead of an
enter key on their keyboard.

Closes #26042.
2014-01-21 08:52:36 -08:00
Jack Nagel
1157c342a3 Fix installer version comparison for 10.10+
Fixes #26018.
Closes #26040.
2014-01-20 10:08:39 -06:00
Mike McQuaid
924655314f Change "mxcl/homebrew" refs to "Homebrew/homebrew"
Closes #24355.
2013-12-14 17:46:28 +00:00
Mike McQuaid
9268c4b443 Update CLT link. 2013-11-05 14:32:02 +00:00
Mike McQuaid
8f718d6588 Improve Mavericks CLT installation usability.
* Install before Git is used.
* Warn about the GUI popup.
* Block on user input until installation finishes.
2013-10-29 15:58:52 -04:00
Jack Nagel
441f52fb65 Stop using floats for version comparison 2013-10-25 17:37:08 -05:00
Mike McQuaid
23446e14d1 Install CLT on 10.9. 2013-10-25 22:14:19 +01:00
Mike McQuaid
a37956c8c4 Tweak casing. 2013-10-25 22:13:29 +01:00
Mike McQuaid
7a8d702895 Clean whitespace. 2013-10-25 22:08:18 +01:00
Mike McQuaid
942c7d31b2 Fix "Homeprew" typo 2013-10-25 22:08:10 +01:00
Mike McQuaid
d11ff8ef2a Handle failing git regex. 2013-10-25 22:07:58 +01:00
Misty De Meo
3e7f9aebb9 Don't bother checking git version if none found 2013-07-09 18:35:51 -07:00
Misty De Meo
7583cc83dd Curl flags: <= 10.5
So I can be lazy and not change this downstream
2013-07-08 22:50:37 -07:00
Misty De Meo
3c567164a9 Don't try to install from git if git is too old
This came up in tigerbrew, where the install failed for a user with
git 1.6.x: https://github.com/mistydemeo/tigerbrew/issues/9

TODO Given that this left the user with a chowned /usr/local but no
functional homebrew install, there should still be better error
handling here.

Fixes mistydemeo/tigerbrew#9.
Fixes #20945.
Closes #18666.
2013-07-08 22:49:35 -07:00
Misty De Meo
8cc6d6d413 Update clang regex for build 425
Regex borrowed from MacOS.clang_build_version.

Fixes #18755.
2013-03-26 20:38:50 -05:00
Jack Nagel
9e8ffa941b Only use curl -k on Leopard 2013-02-28 18:04:11 -06:00
Misty De Meo
7c85b33f39 Replace sceaga/homebrew with mistydemeo/tigerbrew
@sceaga has discontinued his fork of homebrew.
2012-12-27 21:59:31 -04:00
Misty De Meo
3d0cec5da4 Sorry sorry sorry!
Accidentally pushed to the wrong remote... could have sworn
my own was set as the default.

This reverts commit b67e685620.
2012-12-19 21:17:27 -06:00
Misty De Meo
998827aa4b Change Xcode URL 2012-12-19 21:15:11 -06:00
Misty De Meo
fa8bede1ff mxcl/homebrew => mistydemeo/tigerbrew 2012-12-19 21:14:39 -06:00
Misty De Meo
a9cdd58a00 Change version guard to allow Tiger 2012-12-19 21:08:56 -06:00
Misty De Meo
b67e685620 Replace shebang
Tiger doesn't have a Framework ruby and needs a /usr/bin/ruby shebang.
2012-12-19 21:07:39 -06:00
Charlie Sharpsteen
0019042efd Notify user of how to abort installation
Notify users that hitting any key other than ENTER will abort the installer.
2012-09-24 16:34:29 -05:00
Charlie Sharpsteen
5608ad6dae Check all file modes, not just writable
We run a `chmod g+rwx` to set read, write and execute permissions but only use
`File.writable?` to detect which directories need this. Since we are setting
read and execute permissions, we should also use `File.readable?` and
`File.executable?`.
2012-09-24 16:31:51 -05:00
Charlie Sharpsteen
96905ebc24 Abort if the HOMEBREW_PREFIX is not searchable
Without executable permissions on the prefix directory, permissions tests such
as `File.writable?` will fail and `File.chdir` will die with a strange error.

Fixes #14996.
2012-09-24 16:29:29 -05:00
Charlie Sharpsteen
94dbaf00d1 Abstract installation into a variable
The installation prefix is now stored in `HOMEBRW_PREFIX` which makes it easier
to adapt the installation script or to temporarily re-direct the installation
for testing purposes.
2012-09-24 15:57:29 -05:00
Max Howell
9615b760a4 Fix xcrun usage
Fixes #14511.
2012-08-29 11:29:05 -04:00
Max Howell
ff9a35d980 Only fetch master branch 2012-08-29 08:57:27 -04:00
Max Howell
2396c57a6c Fix detecting CLT installation 2012-08-29 08:41:24 -04:00
Max Howell
17cfa811ca Better message if /usr/local/.git exists 2012-08-29 08:41:08 -04:00
Max Howell
ae26703cdb Instead of pulling, fetch and hard-reset
Should prevent merge trouble.
2012-08-29 08:40:48 -04:00
Max Howell
feb8cbcfd2 Clone with git, if possible
Also, --fast clones without history. Much faster, and I'd make this the default, if I could figure out how to pull all the remaining history and thus recommend this for users who want to use `brew versions` etc.
2012-08-14 12:11:48 -04:00
Max Howell
40768b5885 Existing install script moved to go branch
So our install one-liner can be neater.

Other scripts could now go here.
2012-08-01 12:18:11 -04:00