Fix makefile to not override an existing config
This commit is contained in:
parent
7446a08852
commit
86479b3354
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
||||||
install:
|
install:
|
||||||
@cp borg_exporter.sh /usr/local/bin/ \
|
@cp borg_exporter.sh /usr/local/bin/ \
|
||||||
&& chmod +x /usr/local/bin/borg_exporter.sh \
|
&& 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.timer /etc/systemd/system/ \
|
||||||
&& cp prometheus-borg-exporter.service /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 _ \
|
&& echo -n "Edit the config file /etc/borg_exporter.rc and press [ENTER] when finished "; read _ \
|
||||||
|
|
Loading…
Reference in a new issue