Mercurial > hg > forks > yadex
changeset 16:e17a7ae67820
Only install yadex.cfg IF previous one does not exist.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 24 Sep 2011 08:44:15 +0300 |
parents | 992b7f4adaf6 |
children | 75babf13922e |
files | GNUmakefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/GNUmakefile Sat Sep 24 08:43:39 2011 +0300 +++ b/GNUmakefile Sat Sep 24 08:44:15 2011 +0300 @@ -402,7 +402,7 @@ rm -f $(MANDIR)/man6/yadex.6 ln -s yadex-$(VERSION).6 $(MANDIR)/man6/yadex.6 $(OBJDIR)/install -m 644 -d $(SHAREDIR) $(YGD) - $(OBJDIR)/install -m 644 -d $(ETCDIR) yadex.cfg + @if test ! -e $(ETCDIR)/yadex.cfg; then $(OBJDIR)/install -m 644 -d $(ETCDIR) yadex.cfg;fi @echo "---------------------------------------------------------------" @echo " Yadex is now installed." @echo