summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl MacMillan <kmacmillan@mentalrootkit.com>2007-08-03 10:27:59 -0400
committerKarl MacMillan <kmacmillan@mentalrootkit.com>2007-08-03 10:27:59 -0400
commit66ab69d0b23da46b21dbb4bf165011f318ec2da8 (patch)
tree5099c850637f15c01297b09658c9825b7f9ed3b7
parent84d3b7be581468c18dfacdb8ae07d93d86373ff3 (diff)
downloadfreeipa-66ab69d0b23da46b21dbb4bf165011f318ec2da8.tar.gz
freeipa-66ab69d0b23da46b21dbb4bf165011f318ec2da8.tar.xz
freeipa-66ab69d0b23da46b21dbb4bf165011f318ec2da8.zip
Only install the ipa.conf file if it does not exist.
-rw-r--r--ipa-python/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/ipa-python/Makefile b/ipa-python/Makefile
index 85acdb678..b2e4660f8 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
+