14 Commits

Author SHA1 Message Date
Samuel John
93d9f610bb python caveats: use > instead of >>
The `homebrew.pth` should be a file with a single line in it.
Also (at least on zsh) if the file does not exist, `>>` will
result in an error. The `>` works in both, bash and zsh and
creates the file with the `echo`ed contet.

Closes Homebrew/homebrew#28201.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-06 10:35:59 -05:00
Jack Nagel
ce1f598e98 Avoid realpath where it is not necessary
Symlinks in opt and LinkedKegs point directly at a keg in the cellar, so
only resolving one symlink should suffice, and make it clear what path
we are actually interested in.
2014-04-05 12:17:19 -05:00
Mike McQuaid
d8ef8d4f82 caveats: recommend Python .pth file instead.
This is better than PYTHONPATH as it doesn't mess with incompatible
versions of Python.

Closes Homebrew/homebrew#27138.
2014-03-12 13:29:19 +00:00
Mike McQuaid
8b969e981c caveats: tweak app bundle message. 2014-02-02 10:11:48 +00:00
Mike McQuaid
63fcca2fc4 caveats: tweak python site-packages wording.
References Homebrew/homebrew#25789.
2014-01-21 09:02:06 -08:00
Mike McQuaid
f4cd66a88f caveats: print .app caveats if installed to keg. 2014-01-19 14:19:07 -08:00
Mike McQuaid
744a8944b0 caveats: show python caveats if modules installed. 2014-01-04 13:19:20 +00:00
Mike McQuaid
4ea815f7b0 caveats: tweak reload wording. 2013-06-23 14:31:43 +01:00
Jack Nagel
1d265e5a0a Check respond_to? instead of inline rescue 2013-06-09 15:31:40 -05:00
Mike McQuaid
61c7a99cc8 Print formula plist_manual caveat unless loaded. 2013-02-06 22:27:57 -08:00
Mike McQuaid
89e3efae00 Only print launchctl tmux warning conditionally. 2013-01-29 14:37:03 -08:00
Mike McQuaid
5fd9c56803 Add tmux warning for launchctl caveats.
References Homebrew/homebrew#13951.
2013-01-26 14:06:48 +00:00
Jack Nagel
870f095c69 Restore keg-only caveats
Fixes Homebrew/homebrew#16989.
2013-01-14 14:57:42 -06:00
Mike McQuaid
755a2fbe52 Add caveats class and use in brew info.
Probably a better approach than reverted e721c7.

Fixes Homebrew/homebrew#16604.
2013-01-02 09:28:15 +00:00