1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 10:03:45 +01:00

Removed unneeded directory for state

This commit is contained in:
Tomas Edwardsson 2014-01-20 11:05:52 +00:00
parent 5593391a3b
commit 735b2795d8

View File

@ -24,7 +24,6 @@ Check cpu states on line machines
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sharedstatedir}/nagios-okplugin/%{name}
install -D -p -m 0755 okplugin_check_cpu %{buildroot}%{_libdir}/nagios/plugins/okplugin_check_cpu install -D -p -m 0755 okplugin_check_cpu %{buildroot}%{_libdir}/nagios/plugins/okplugin_check_cpu
install -D -p -m 0755 nrpe.d/okplugin_check_cpu.cfg %{buildroot}/etc/nrpe.d/okplugin_check_cpu.cfg install -D -p -m 0755 nrpe.d/okplugin_check_cpu.cfg %{buildroot}/etc/nrpe.d/okplugin_check_cpu.cfg
@ -37,7 +36,6 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %attr(0770, nrpe, nrpe) %{_sharedstatedir}/nagios-okplugin/%{name}
%{_libdir}/nagios/plugins/* %{_libdir}/nagios/plugins/*
%{_sysconfdir}/nrpe.d/* %{_sysconfdir}/nrpe.d/*