From 66ab69d0b23da46b21dbb4bf165011f318ec2da8 Mon Sep 17 00:00:00 2001 From: Karl MacMillan Date: Fri, 3 Aug 2007 10:27:59 -0400 Subject: Only install the ipa.conf file if it does not exist. --- ipa-python/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ipa-python') diff --git a/ipa-python/Makefile b/ipa-python/Makefile index 85acdb67..b2e4660f 100644 --- a/ipa-python/Makefile +++ b/ipa-python/Makefile @@ -8,7 +8,10 @@ install: -mkdir -p $(PACKAGEDIR) install -m 644 *.py $(PACKAGEDIR) -mkdir -p $(CONFIGDIR) - install -m 644 ipa.conf $(CONFIGDIR) + if ! [ -e $(CONFIGDIR)/ipa.conf ]; then \ + install -m 644 ipa.conf $(CONFIGDIR); \ + fi clean: - rm -f *~ *.pyc \ No newline at end of file + rm -f *~ *.pyc + -- cgit