30 Commits

Author SHA1 Message Date
Max Howell
283cefa163 Revert "Ensure resulting /usr/local is not user writable"
This reverts commit 549e7c1c2046010430849a3e92ecefb64b21a733.
2012-03-09 12:10:50 +00:00
Max Howell
cb3ffba635 Revert "Ensure that we undo the o+w chmod"
This reverts commit b3d5ac0c8500006ef4fbd0bf3bd53b22a06869ab.
2012-03-09 12:10:50 +00:00
Max Howell
9c5ad5c978 Error out with link to help if OS X < 10.5 2012-03-09 12:10:49 +00:00
Max Howell
c1568ab277 Fix install script for Ruby 1.9.x 2012-03-09 12:10:49 +00:00
Max Howell
ab66113f0b Ensure that we undo the o+w chmod 2012-03-09 12:10:49 +00:00
Max Howell
4696401e5d Look for bad dylibs in the installer
A common source of compile error, lets tell the user straight away.

Removed relevant documentation from the installation instructions as a consequence.
2012-03-09 12:10:49 +00:00
Max Howell
1fb3a2e20c Ensure resulting /usr/local is not user writable
Because we should do as little modification to the system as possible.

Even though /usr/local doesn't exist on a virgin OS X, many tools create it, and some of them expect /usr/local to be root owned for security reasons.

This modification fixes Airfoil on systems where it is installed.

The result of this is we can no longer create new directories in the HOMEBREW_PREFIX unless we check and prompt for sudo first when required.
2012-03-09 12:10:49 +00:00
Max Howell
3c2656c933 Better check for already installed 2012-03-09 12:10:49 +00:00
Max Howell
2332a564aa Less documentation
Changelog documentation, what were we thinking?
2012-03-09 12:10:49 +00:00
Max Howell
06450d4924 We don't care about var/log
Actually not sure about this commit's purpose. It was a gist edit, so no commit message was provided.
2012-03-09 12:10:49 +00:00
Max Howell
2cb0bd2cae Github URLS now are https 2012-03-09 12:10:49 +00:00
Max Howell
a721e736c5 If curl fails propagate its exit status through the pipe 2012-03-09 12:09:38 +00:00
Max Howell
bdbb8dc2a4 Check for all manpaths 2012-03-09 12:09:38 +00:00
Max Howell
d39364b70a Use full path to sudo 2012-03-09 12:09:38 +00:00
Max Howell
897dd14ae5 Amend paths to check for chmods 2012-03-09 12:09:38 +00:00
Max Howell
76ad14507c Direct the user to Xcode download 2012-03-09 12:09:38 +00:00
Max Howell
dec885bc16 Check for tty before trying to grab it 2012-03-09 12:09:37 +00:00
Max Howell
d9f1be7ef2 Use original system function for gcc check 2012-03-09 12:09:37 +00:00
Max Howell
f939a2c8b2 chmod Library and libexec too 2012-03-09 12:09:37 +00:00
Max Howell
13e73a2c55 Duplicating installation steps sucks 2012-03-09 12:09:37 +00:00
Max Howell
7a193f39b7 Support Ruby < 1.8.7 2012-03-09 12:08:52 +00:00
Max Howell
97b5808cac Warn if Xcode is not installed. 2012-03-09 12:08:52 +00:00
mattetti
4c0545619d Use getbyte and not getc 2012-03-09 12:08:51 +00:00
Max Howell
ebbc2e5b3f Use full path to stty 2012-03-09 12:08:51 +00:00
Max Howell
ca5bccd2d9 Only abort if user is not in staff group
Rationale: We aren't sure if the suggested command works on 10.5 and this is
an edge case.
2012-03-09 12:08:51 +00:00
Max Howell
16352d90b4 Moved code to top ready for amend 2012-03-09 12:08:51 +00:00
Max Howell
e12165138f Add user to staff if necessary 2012-03-09 12:08:51 +00:00
mxcl
3529226865 Advise user if they are not in the right group 2012-03-09 12:08:51 +00:00
mxcl
a6d9371bc9 2010-03-13 06:24:44 -07:00
mxcl
93d86f92ee 2010-03-06 08:14:26 -07:00