From: kaf24@scramble.cl.cam.ac.uk Date: Fri, 2 Apr 2004 15:42:37 +0000 (+0000) Subject: bitkeeper revision 1.825.3.24 (406d89edLT2FcNiTizRzrDacuMdqRQ) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~18285^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a62489a1c78ba13aaad565f81cf5f3ee73a8c994;p=xen.git bitkeeper revision 1.825.3.24 (406d89edLT2FcNiTizRzrDacuMdqRQ) Makefile: Don't overwrite existing defaults files during install. --- diff --git a/tools/examples/Makefile b/tools/examples/Makefile index 1f57924338..fba54aae44 100644 --- a/tools/examples/Makefile +++ b/tools/examples/Makefile @@ -11,7 +11,10 @@ install: all mkdir -p $(prefix)/etc/xc/auto mkdir -p $(prefix)/etc/init.d install -m0755 $(INSTALL) $(prefix)/usr/bin - install -m0644 $(ETC) $(prefix)/etc/xc + for i in $(ETC); \ + do [ -a $(prefix)/etc/xc/$$i ] || \ + install -m0644 $$i $(prefix)/etc/xc; \ + done install -m0755 $(INITD) $(prefix)/etc/init.d clean: