aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-30 01:16:55 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-30 01:16:55 +0000
commit72a0f04a6717b5c577bead62773333ee5f384082 (patch)
tree75eac93f8b903cd84050f3ff2727fa508e5b25ab /Makefile
parent1f61290ffd69e4b7e1d953f43fcbbf2f4586ada6 (diff)
downloadprosody-72a0f04a6717b5c577bead62773333ee5f384082.tar.gz
prosody-72a0f04a6717b5c577bead62773333ee5f384082.zip
Don't overwrite config on make install if it already exists
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 38de9e68..bc534525 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ install: prosody.install prosody.cfg.lua.install util/encodings.so util/encoding
install -m644 plugins/* $(MODULES)
install -m644 certs/* $(CONFIG)/certs
install -m644 plugins/* $(MODULES)
- install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua
+ test -e $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua
$(MAKE) install -C util-src
clean: