From 10654f9ebe9f57f3055edee03e9f492e39eae097 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Tue, 28 Dec 2021 23:52:19 -0700 Subject: [PATCH] Update makefile to not overwrite config everytime --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 43c0dcd..d97aa4e 100644 --- a/Makefile +++ b/Makefile @@ -8,12 +8,15 @@ install: @install -m 755 makeuser $(BINDIR) @install -m 644 welcome-email.tmpl $(BINDIR) @install -m 700 znccreate.py $(BINDIR) - @install -m 600 znc-config-ex.json $(ZNCCONF)/znc-config.json + @install -m 600 znc-config-ex.json $(ZNCCONF) + @echo Remember to edit znc-config with your ZNC details and rename $(ZNCCONF)/znc-config-ex.json to $(ZNCCONF)/znc-config.json + @echo ENJOY uninstall: @echo removing the executables from $(BINDIR) @rm -f $(BINDIR)/makeuser @rm -f $(BINDIR)/welcome-email.tmpl @rm -f $(BINDIR)/znccreate.py + @echo znc-config.json has not been touched. You will need to manually remove it from $(ZNCCONF) .PHONY: install uninstall