diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2007-04-30 11:08:01 +0400 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2007-04-30 11:08:01 +0400 |
commit | f3f4b5d5c873c23b308b4730539fc623a7079a2a (patch) | |
tree | a652271b4d39bbee442a0513a2ee24fec34a8fe4 | |
parent | 310916549cb99135af6a5c52348d4467330f14fb (diff) |
make install does not overwrites existing ejabberd.cfg anymore, ejabberd.cfg-new created instead
SVN Revision: 756
-rw-r--r-- | src/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |