summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2007-04-30 07:08:01 +0000
committerChristophe Romain <christophe.romain@process-one.net>2007-04-30 07:08:01 +0000
commit3acce9763aa5fd1a098facb01b77f1b21076224f (patch)
treee59eb217112aca80286f026b1a37c1cd37ada37d
parentSVN Revision: 754 (diff)
make install does not overwrites existing ejabberd.cfg anymore, ejabberd.cfg-new created instead
SVN Revision: 756
-rw-r--r--src/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 9131fca6..eb585182 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -89,7 +89,7 @@ install: all
install -d $(MSGSDIR)
install -m 644 msgs/*.msg $(MSGSDIR)
install -d $(ETCDIR)
- install -b -m 644 ejabberd.cfg.example $(ETCDIR)/ejabberd.cfg
+ [ -f $(ETCDIR)/ejabberd.cfg ] && install -b -m 644 ejabberd.cfg.example $(ETCDIR)/ejabberd.cfg-new || install -b -m 644 ejabberd.cfg.example $(ETCDIR)/ejabberd.cfg
install -d $(LOGDIR)
clean: clean-recursive clean-local