Software / code / prosody
Diff
Makefile @ 501:ea61e191043e
Don't overwrite config on make install if it already exists
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 30 Nov 2008 01:16:55 +0000 |
| parent | 494:457d0c750826 |
| child | 502:21dc299387a6 |
line wrap: on
line diff
--- a/Makefile Sun Nov 30 06:14:41 2008 +0500 +++ b/Makefile Sun Nov 30 01:16:55 2008 +0000 @@ -25,7 +25,7 @@ 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: