From 3c4063b54eaee29e0749567b05390ae342778ab8 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 13 Feb 2022 11:53:07 +0100 Subject: [PATCH] do not overwrite existing /etc/default/ebusd with make install (fixes #519) --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 043af978..17567f24 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,7 +14,7 @@ EXTRA_DIST = LICENSE \ install-data-hook: @if [ -f "/etc/debian_version" ]; then \ mkdir -p $(DESTDIR)/etc/default/ $(DESTDIR)/etc/init.d/ $(DESTDIR)/lib/systemd/system/; \ - cp $(srcdir)/contrib/debian/default/ebusd $(DESTDIR)/etc/default/; \ + cp -n $(srcdir)/contrib/debian/default/ebusd $(DESTDIR)/etc/default/; \ cp $(srcdir)/contrib/debian/init.d/ebusd $(DESTDIR)/etc/init.d/; \ cp $(srcdir)/contrib/debian/systemd/ebusd.service $(DESTDIR)/lib/systemd/system/; \ fi