econf --libexecdir="/usr/$(get_libdir)/nagios/plugins"
}
-pkg_preinst() {
- # These should match net-analyzer/{monitoring,nagios}-plugins.
- enewgroup nagios
- enewuser nagios -1 /bin/bash /var/nagios/home nagios
-}
+# Here we should have a pkg_preinst() that creates the nagios user/group
+# (using the same command from e.g. net-analyzer/nagios-plugins). But
+# right now, the build system for check_mysql_health has a bug: it
+# doesn't use the configured user (INSTALL_OPTIONS aren't passed to
+# /usr/bin/install), so it's pointless.