From 86479b3354e238dc52dc6c886cbe0337d4afc173 Mon Sep 17 00:00:00 2001 From: pivaldi Date: Thu, 6 Sep 2018 15:40:33 +0200 Subject: [PATCH] Fix makefile to not override an existing config --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6de4926..62c67ef 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ install: @cp borg_exporter.sh /usr/local/bin/ \ && chmod +x /usr/local/bin/borg_exporter.sh \ - && cp borg_exporter.rc /etc/borg_exporter.rc \ + && cp -n borg_exporter.rc /etc/borg_exporter.rc \ && cp prometheus-borg-exporter.timer /etc/systemd/system/ \ && cp prometheus-borg-exporter.service /etc/systemd/system/ \ && echo -n "Edit the config file /etc/borg_exporter.rc and press [ENTER] when finished "; read _ \