aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nagios-plugins.rb
diff options
context:
space:
mode:
authorBjörn Albers2012-05-10 12:50:53 +0200
committerJack Nagel2012-05-24 19:40:38 -0500
commit7022b7550c9311db86798f357569ae9e15fb70b0 (patch)
tree8ad07d4f56af4fc0371c1db7534f46feac572df7 /Library/Formula/nagios-plugins.rb
parentc75fd092f78f0cb82df3b3ce12551a01e786d525 (diff)
downloadhomebrew-7022b7550c9311db86798f357569ae9e15fb70b0.tar.bz2
Update path of nagios-plugins
Change path from sbin/nagios-plugins to sbin in order to avoid hacks in related formulae. Closes #12181. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/nagios-plugins.rb')
-rw-r--r--Library/Formula/nagios-plugins.rb18
1 files changed, 3 insertions, 15 deletions
diff --git a/Library/Formula/nagios-plugins.rb b/Library/Formula/nagios-plugins.rb
index 197862176..722bcfafc 100644
--- a/Library/Formula/nagios-plugins.rb
+++ b/Library/Formula/nagios-plugins.rb
@@ -5,31 +5,19 @@ class NagiosPlugins < Formula
homepage 'http://nagiosplugins.org/'
md5 '56abd6ade8aa860b38c4ca4a6ac5ab0d'
- def nagios_sbin; sbin+'nagios-plugins'; end
-
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
- "--libexecdir=#{nagios_sbin}"
+ "--libexecdir=#{sbin}"
system "make install"
system "make install-root"
end
def caveats
<<-EOS.undent
- All plugins are accessible under
-
- #{nagios_sbin}
-
- and get symlinked to
-
- #{HOMEBREW_PREFIX}/sbin/nagios-plugins
-
- so that they don't appear in your search path but still can be found by
- nagios across version updates.
-
- Please feel free to update your PATH if you want to use them standalone!
+ All plugins have been installed in:
+ #{HOMEBREW_PREFIX}/sbin
EOS
end
end