Create backup of existing config files on install
This commit is contained in:
2
Makefile
2
Makefile
@@ -43,7 +43,7 @@ etc/restic/b2_env.sh etc/restic/b2_pw.txt:
|
||||
# | means that dependencies are order-only i.e. only created if they don't already exist.
|
||||
install-conf: | $(SRCS_CONF)
|
||||
install -d $(DEST_CONF)
|
||||
install -m 0600 $(SRCS_CONF) $(DEST_CONF)
|
||||
install -b -m 0600 $(SRCS_CONF) $(DEST_CONF)
|
||||
$(RM) etc/restic/b2_env.sh etc/restic/b2_pw.txt
|
||||
|
||||
# target: install-systemd - Install systemd timer and service files.
|
||||
|
||||
Reference in New Issue
Block a user