[omd-commits] OMD Git: omd: rrdtool: Cleaning up duplicate file (rrdtoolmodule.so)

git version control git at mathias-kettner.de
Thu Oct 24 09:39:08 CEST 2013


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

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Thu Oct 24 09:39:04 2013 +0200
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Thu Oct 24 09:39:04 2013 +0200

rrdtool: Cleaning up duplicate file (rrdtoolmodule.so)

---

 packages/rrdtool/Makefile |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/packages/rrdtool/Makefile b/packages/rrdtool/Makefile
index 464b419..94fb4fa 100644
--- a/packages/rrdtool/Makefile
+++ b/packages/rrdtool/Makefile
@@ -46,6 +46,10 @@ install:
 	    rsync -avh $(DESTDIR)$(OMD_ROOT)/lib64/* $(DESTDIR)$(OMD_ROOT)/lib/ ; \
 	    rm -rf $(DESTDIR)$(OMD_ROOT)/lib64 ; \
 	fi
+	# Cleanup files below lib/python2*. The real stuff is in lib/python
+	if ls $(DESTDIR)$(OMD_ROOT)/lib/python2* >/dev/null 2>&1; then
+	    rm -rf $(DESTDIR)$(OMD_ROOT)/lib/python2*
+	fi
 
 skel:
 



More information about the omd-commits mailing list