From: Michael Stapelberg Date: Fri, 6 Mar 2009 15:56:04 +0000 (+0100) Subject: Don’t override /etc/i3/config if it already exists X-Git-Tag: 3.a~77 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b372395a7df1c3e539e8450db9609a2c9a504622;p=i3%2Fi3 Don’t override /etc/i3/config if it already exists --- 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