[omd-commits] OMD Git: omd: mod-gearman: remove useless files

git version control git at mathias-kettner.de
Sat Sep 14 18:34:47 CEST 2013


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

Author:   Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Sun Sep  8 21:50:21 2013 +0200
Commiter: Sven Nierlein <sven at consol.de>
Date:     Thu Sep 12 17:02:56 2013 +0200

mod-gearman: remove useless files

---

 packages/mod-gearman/Makefile |   16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/packages/mod-gearman/Makefile b/packages/mod-gearman/Makefile
index d812def..5d58fd3 100644
--- a/packages/mod-gearman/Makefile
+++ b/packages/mod-gearman/Makefile
@@ -23,22 +23,10 @@ install:
 	# fix path for plugin
 	[ -d $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins ] || mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins
 	mv $(DESTDIR)$(OMD_ROOT)/bin/check_gearman $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins/
-	rm -rf $(DESTDIR)$(OMD_ROOT)/etc/mod-gearman
-	rm -rf $(DESTDIR)$(OMD_ROOT)/etc/init.d/gearmand
-	rm -rf $(DESTDIR)$(OMD_ROOT)/etc/init.d/mod_gearman_worker
 	rm -rf $(DESTDIR)$(OMD_ROOT)/share/mod_gearman/*.conf
-	rmdir $(DESTDIR)$(OMD_ROOT)/etc/init.d
-	rm -f $(DESTDIR)$(OMD_ROOT)/etc/mod_gearman/mod_gearman_neb.conf
-	rm -f $(DESTDIR)$(OMD_ROOT)/etc/mod_gearman/mod_gearman_worker.conf
-	rm -f $(DESTDIR)$(OMD_ROOT)/etc/logrotate.d/mod_gearman_worker
 	rm -f $(DESTDIR)$(OMD_ROOT)/lib/mod_gearman/mod_gearman.so
-	rmdir $(DESTDIR)$(OMD_ROOT)/etc/logrotate.d
-	rmdir $(DESTDIR)$(OMD_ROOT)/etc/mod_gearman
-	find $(DESTDIR)$(OMD_ROOT)/etc
-	rmdir $(DESTDIR)$(OMD_ROOT)/etc
-	rm -rf $(DESTDIR)$(OMD_ROOT)/var/mod_gearman
-	rm -rf $(DESTDIR)$(OMD_ROOT)/var/log
-	rmdir $(DESTDIR)$(OMD_ROOT)/var
+	rm -rf $(DESTDIR)$(OMD_ROOT)/etc
+	rm -rf $(DESTDIR)$(OMD_ROOT)/var
 
 skel:
 	mkdir -p $(SKEL)/etc/mod-gearman



More information about the omd-commits mailing list