[omd-commits] OMD Git: omd: shinken: remove webui also for centos5.8 (webui needs python > 2.4)

git version control git at mathias-kettner.de
Mon Sep 3 23:26:01 CEST 2012


Module:   omd
Branch:   master
Commit:   69f2672ae20387da51ed7af2a693da7bbbb7235f
URL:      http://omdistro.org/projects/omd/repository/revisions/69f2672ae20387da51ed7af2a693da7bbbb7235f

Author:   Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Mon Sep  3 23:25:04 2012 +0200
Commiter: Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Mon Sep  3 23:25:04 2012 +0200

shinken: remove webui also for centos5.8 (webui needs python > 2.4)

---

 packages/shinken/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/packages/shinken/Makefile b/packages/shinken/Makefile
index 1c2b035..5ec3981 100644
--- a/packages/shinken/Makefile
+++ b/packages/shinken/Makefile
@@ -95,11 +95,12 @@ build:
 		$(DISTRO_VERSION) = "5.4" -o \
 		$(DISTRO_VERSION) = "5.5" -o \
 		$(DISTRO_VERSION) = "5.6" -o\
-		$(DISTRO_VERSION) = "5.7" ]; then \
+		$(DISTRO_VERSION) = "5.7" -o \
+		$(DISTRO_VERSION) = "5.8" ]; then \
 		echo it is a centos 5; \
 		echo which has python 2.4; \
 		echo we need to remove the shinken webui; \
-		( cd $(SHINKEN) ; patch -p1 -b ) < patches/0001-remove-webui.patch; \
+		rm -f $(SHINKEN)/shinken/modules/active_directory_ui.py; \
 	fi
 
 



More information about the omd-commits mailing list