From 2676fdf95667cfa0fec45372dbb956c8645c1119 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Fri, 23 Dec 2011 09:00:59 +0100 Subject: [PATCH] Be quiet! Only talk if you have something useful to say. --- etc/Makefile.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/etc/Makefile.in b/etc/Makefile.in index 721cacb..1216177 100644 --- a/etc/Makefile.in +++ b/etc/Makefile.in @@ -93,13 +93,12 @@ install-etc-files: done; \ for path in $$INSTALL_FILES; do \ file=`basename $$path`; \ - echo "Installing $$file..."; \ if [ -f "$(DESTDIR)$(etcdir)/$$file" ]; then \ - if cmp -s "$$path" "$(DESTDIR)$(etcdir)/$$file"; then \ - echo "$(DESTDIR)$(etcdir)/$$file unchanged, skipped"; \ + if cmp -s "$$path" "$(DESTDIR)$(etcdir)/$$file" ; then \ + :; \ else \ $(INSTALL_DATA) "$$path" "$(DESTDIR)$(etcdir)/$$file.dist"; \ - echo "INFO: $(DESTDIR)$(etcdir)/$$file installed with .dist extension"; \ + echo "$(DESTDIR)$(etcdir)/$$file has local modifications; installing with .dist suffix"; \ fi; \ else \ $(INSTALL_DATA) $$path $(DESTDIR)$(etcdir)/$$file; \ -- 1.7.10.4