aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaun Jackman2014-06-03 10:45:53 +0200
committerMike McQuaid2014-06-03 15:47:05 +0100
commitb8ba5c4d7e423e271c83cabb7cebd8ce7ec458f9 (patch)
treec26ea2c090a844bcce3f464cb144b9064e4dcc64
parentafa45493af041e3357d9cff64dea085e88eed251 (diff)
downloadhomebrew-b8ba5c4d7e423e271c83cabb7cebd8ce7ec458f9.tar.bz2
Direct Linux users to Linuxbrew.
References #29813.
-rwxr-xr-xinstall1
1 files changed, 1 insertions, 0 deletions
diff --git a/install b/install
index c7769a116..994d09d34 100755
--- a/install
+++ b/install
@@ -96,6 +96,7 @@ at_exit { Kernel.system "/usr/bin/sudo", "-k" }
Dir.chdir "/usr"
####################################################################### script
+abort "See Linuxbrew: http://brew.sh/linuxbrew/" if /linux/i === RUBY_PLATFORM
abort "MacOS too old, see: https://github.com/mistydemeo/tigerbrew" if macos_version < "10.5"
abort "Don't run this as root!" if Process.uid == 0
abort <<-EOABORT unless `groups`.split.include? "admin"