From f3f4b5d5c873c23b308b4730539fc623a7079a2a Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Mon, 30 Apr 2007 07:08:01 +0000 Subject: [PATCH] make install does not overwrites existing ejabberd.cfg anymore, ejabberd.cfg-new created instead SVN Revision: 756 --- src/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.in b/src/Makefile.in index 9b6095be0..d517784e7 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