aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nagios.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.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.rb')
-rw-r--r--Library/Formula/nagios.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/nagios.rb b/Library/Formula/nagios.rb
index 558819984..e309e9eb5 100644
--- a/Library/Formula/nagios.rb
+++ b/Library/Formula/nagios.rb
@@ -24,6 +24,7 @@ class Nagios < Formula
"--sysconfdir=#{nagios_etc}",
"--localstatedir=#{nagios_var}",
"--datadir=#{htdocs}",
+ "--libexecdir=#{HOMEBREW_PREFIX}/sbin", # Plugin dir
"--with-cgiurl=/nagios/cgi-bin",
"--with-htmurl=/nagios",
"--with-nagios-user=#{user}",
@@ -38,10 +39,6 @@ class Nagios < Formula
system "make install-config"
system "make install-webconf"
(share+plist_path).write startup_plist
-
- # Symlink plugins
- libexec.rmdir
- ln_s HOMEBREW_PREFIX+'sbin/nagios-plugins', libexec
end
def startup_plist