From 7eac6b6ad0aadee6b9c3ce67e56abf8d0c065edf Mon Sep 17 00:00:00 2001 From: Dan Lenski Date: Wed, 25 Mar 2020 16:47:17 -0700 Subject: [PATCH] create backups when overwriting existing create_ap.conf --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ad53c6..e2eef8c 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ all: install: install -Dm755 create_ap $(DESTDIR)$(BINDIR)/create_ap - install -Dm644 create_ap.conf $(DESTDIR)/etc/create_ap.conf + install -Dm644 --backup=existing --suffix=.orig create_ap.conf $(DESTDIR)/etc/create_ap.conf [ ! -d /lib/systemd/system ] || install -Dm644 create_ap.service $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service [ ! -e /sbin/openrc-run ] || install -Dm755 create_ap.openrc $(DESTDIR)/etc/init.d/create_ap install -Dm644 bash_completion $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap