ppcrcd/trunk/Makefile

sparky cvs at pld-linux.org
Thu Feb 2 21:09:43 CET 2006


Author: sparky
Date: Thu Feb  2 21:09:35 2006
New Revision: 6912

Modified:
   ppcrcd/trunk/Makefile
Log:
- use --replacepkgs useful if package with same ver-rel has to be reinstalled


Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile	(original)
+++ ppcrcd/trunk/Makefile	Thu Feb  2 21:09:35 2006
@@ -195,10 +195,11 @@
 $(root_inst):
 	mkdir $@
 	$(SU) rpm --root=$(PWD)/$@ --initdb
+	sleep 1 && touch $@
 
 out/rpm/installed/%:	out/rpm/rpms/% $(root_inst)
 	@$(SU) rpm -Uhv --root=$(PWD)/$(root_inst) out/rpm/RPMS/`cat $(firstword $^)`  \
-		$(INSTOPTS-$(notdir $@)) --define="_install_langs %{nil}"
+		$(INSTOPTS-$(notdir $@)) --define="_install_langs %{nil}" --replacepkgs
 	sleep 1 && touch $@
 
 .PHONY:	%.rpm


More information about the pld-cvs-commit mailing list