From b372395a7df1c3e539e8450db9609a2c9a504622 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 6 Mar 2009 16:56:04 +0100 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20override=20/etc/i3/config=20if?= =?utf8?q?=20it=20already=20exists?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eb806d96..e7477f5d 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ install: all $(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin $(INSTALL) -d -m 0755 $(DESTDIR)/etc/i3 $(INSTALL) -m 0755 i3 $(DESTDIR)/usr/bin/ - $(INSTALL) -m 0644 i3.config $(DESTDIR)/etc/i3/config + test -e $(DESTDIR)/etc/i3/config || $(INSTALL) -m 0644 i3.config $(DESTDIR)/etc/i3/config clean: rm -f src/*.o -- 2.39.5