Skip to content
This repository was archived by the owner on Sep 30, 2021. It is now read-only.

Commit 7eac6b6

Browse files
committed
create backups when overwriting existing create_ap.conf
1 parent f44ad15 commit 7eac6b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ all:
88

99
install:
1010
install -Dm755 create_ap $(DESTDIR)$(BINDIR)/create_ap
11-
install -Dm644 create_ap.conf $(DESTDIR)/etc/create_ap.conf
11+
install -Dm644 --backup=existing --suffix=.orig create_ap.conf $(DESTDIR)/etc/create_ap.conf
1212
[ ! -d /lib/systemd/system ] || install -Dm644 create_ap.service $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service
1313
[ ! -e /sbin/openrc-run ] || install -Dm755 create_ap.openrc $(DESTDIR)/etc/init.d/create_ap
1414
install -Dm644 bash_completion $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap

0 commit comments

Comments
 (0)