summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-12-20 10:00:26 -0500
committerBen Morrison <ben@gbmor.dev>2019-12-20 21:45:19 -0500
commitf532f493bf1a2937565c1f1ca7070a324541ead8 (patch)
tree4117c91f442225a049ecae9f2f14adbdfe149ea9
parente8b0b0c6d81f67e3c40e60f06ecebb51413ef270 (diff)
downloadgetwtxt-f532f493bf1a2937565c1f1ca7070a324541ead8.tar.gz
leaving db intact on uninstall v0.4.9
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bdf3060..f852ef1 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,10 @@ uninstall:
 	@systemctl disable getwtxt >/dev/null 2>&1 || true
 	@echo
 	@echo Removing files
-	rm -rf $(BINDIR)
+	rm -rf $(BINDIR)/assets
+	rm -rf $(BINDIR)/logs
+	rm -f $(BINDIR)/getwtxt
+	rm -f $(BINDIR)/getwtxt.yml
 	rm -f /etc/systemd/system/getwtxt.service
 	@echo
 	@echo Removing user