From 36834cdac58073d307606a9a406854f61ccc9b0b Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Thu, 10 Oct 2002 14:27:41 +0000 Subject: [PATCH] etc-install fix. --- Makefile.am.pre | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am.pre b/Makefile.am.pre index 88bb10f7..f837d1e1 100644 --- a/Makefile.am.pre +++ b/Makefile.am.pre @@ -91,9 +91,11 @@ etc-install: $(etcdir)/silcalgs.conf; \ chmod go= $(etcdir)/silcd.conf; \ fi - -@if test '!' -f $(etcdir)/silc.conf ; then \ - $(INSTALL_DATA) $(srcdir)/irssi/silc.conf \ - $(etcdir)/silc.conf; \ + -@if test '!' -d $(srcdir)/irssi ; then \ + if test '!' -f $(etcdir)/silc.conf ; then \ + $(INSTALL_DATA) $(srcdir)/irssi/silc.conf; \ + $(etcdir)/silc.conf; \ + fi; \ fi if SILC_DIST_CLIENT -- 2.24.0