[icinga-checkins] icinga.org: icinga-core/next: icinga.spec: fix perfdata dir creation

git at icinga.org git at icinga.org
Wed Feb 6 10:42:16 CET 2013


Module: icinga-core
Branch: next
Commit: 1c6dd66f9ef2196782e1b2c8cb0e0467375abc20
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=1c6dd66f9ef2196782e1b2c8cb0e0467375abc20

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Feb  6 10:43:03 2013 +0100

icinga.spec: fix perfdata dir creation

---

 icinga.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/icinga.spec b/icinga.spec
index 361bcde..7d876db 100644
--- a/icinga.spec
+++ b/icinga.spec
@@ -188,6 +188,9 @@ install -D -m 0644 icinga.htpasswd %{buildroot}%{_sysconfdir}/%{name}/passwd
 install -d -m0755 "%{buildroot}%{_includedir}/%{name}/"
 install -m0644 include/*.h "%{buildroot}%{_includedir}/%{name}"
 
+# create perfdata dir by default
+install -d -m0755 "%{buildroot}%{_localstatedir}/spool/%{name}/perfdata"
+
 %pre
 # Add icinga user
 %{_sbindir}/groupadd icinga 2> /dev/null || :





More information about the icinga-checkins mailing list