[icinga-checkins] icinga.org: icinga-web/master: fix icinga-web spec file does not perform %pre functions #1288

git at icinga.org git at icinga.org
Wed Mar 30 13:17:04 CEST 2011


Module: icinga-web
Branch: master
Commit: c9d945c16b6d80d4ebbb3a6e2bac15f37d2d55aa
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=c9d945c16b6d80d4ebbb3a6e2bac15f37d2d55aa

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Mar 30 11:19:02 2011 +0200

fix icinga-web spec file does not perform %pre functions #1288

fixes #1288

---

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

diff --git a/icinga-web.spec b/icinga-web.spec
index 917203e..ef53d77 100644
--- a/icinga-web.spec
+++ b/icinga-web.spec
@@ -88,6 +88,10 @@ cp -r etc/schema %{buildroot}%{_datadir}/icinga-web/etc/schema
 %pre
 ##############################
 
+# Add apacheuser in the icingacmd group
+  /usr/sbin/usermod -a -G icingacmd %{apacheuser}
+
+
 #uncomment if building from git
 #%{__rm} -rf %{buildroot}%{_datadir}/icinga-web/.git
 





More information about the icinga-checkins mailing list